Create a Knowledge Base Article from Apex Dynamically without knowing article type API name
Here is the apex code to to achieve the same. Run in dev console then use in your test class or anywhere else you want:
Here is the apex code to to achieve the same. Run in dev console then use in your test class or anywhere else you want:
DESCRIPTION It’s very typical to get such a scenario when we need to create custom field programmatically. Previously, we used to use Metadata API for the same which was very costly. But now, Tooling API provides an efficient way to achieve it. I’ve prototyped in below class. You can create custom fields as given below. …
Apex Code to Create Custom Field Programmatically Read More »
I developed a native solution which is really very fast to evaluate the boolean expressions. Inspired from here: https://salesforce.stackexchange.com/questions/113300/boolean-evaluation-in-apex/113306 Source Code link is: https://gist.github.com/ayub-ansari/d689fe390e0f7350ce6600a09335981f Example to use it: BooleanExpression.evaluateExpression(‘false and (false or (true and (false or true)))’);
PROBLEM STATEMENT SOLUTION Below given solution is use to Apex script to query Knowledge and make change and then publish in mass. This peice of code further can be used anywhere in Anonymous Window (Developer Console –> Debug –> Open Execute Anonymous window) or Apex Class/Trigger. Query Published articles and make desired changes (skip if …
We’ve done that in the past. They do provide a package for salesforce: http://support.talentlms.com/knowledgebase/articles/1155322-how-to-integrate-salesforce-and-talentlms. Also, if you want to use third party connector you can use Zapier as well: http://support.talentlms.com/knowledgebase/articles/310647-how-to-integrate-talentlms-with-mailchimp-zendesk Also, if you want to create your own connector then even you can do that (in same way as Zapier does) as they support API.
Custom button can be queried using Tooling API as below: Salesforce Object Definition:
We’re just working on a Project in Dev sandbox which includes near about 300 components. We just deployed into a full sandbox and completed UAT. Now, we need to deploy the same changeset to Production. Unfortunately, we need to create again changeset and need to add 300 components….which is terrific. There is no standard way …
Reuse inbound change set to create an outbound change set – with clicks only Read More »
Prepare a package.xml file and download it Run below code in Execute Anonymous Window using Developer Console. It will send package.xml file in your email. Don’t forget to update your email address in below code. Retrieve Reports using Package.xml Now, you login in org using workbench and retrieve all Reports using above received package.xml. We …
Prepare a package XML to retrieve all Report using Apex and Workbench Read More »
Introduction In Salesforce, the visibility of the Global Search box is set by the user’s profile permissions and org configuration. Specifically, the Chatter Enabled permission can affect the appearance of the search box. Steps Here’s the steps to verify: Chatter Enabled Permission: If the user’s profile has the Chatter Enabled permission: The Global Search Box (available …
Global Search Box Visibility in Saleforce Tabs + Visualforce Communities Read More »
Here are some of the most popular and widely-used Salesforce Chrome plugins that enhance productivity, simplify development, debugging, and navigation, and improve the overall Salesforce experience for develpers and business users. 1. Salesforce Inspector Reloaded Link: Salesforce Inspector 2. Salesforce Advanced Code Searcher Link: Salesforce Advanced Code Searcher 3. ORGanizer for Salesforce Link: ORGanizer for …
Chrome plugins for Salesforce to deal with Metadata Read More »