Blogs
-
Outbound Requests for Salesforce Connect Custom Adapters
Just like any other Apex code, a Salesforce Connect custom adapter can make callouts. If the connection to the external system requires authentication, incorporate the authentication parameters into the callout. Authentication parameters are encapsulated in a ConnectionParams object and provided to your DataSource.Connection class’s constructor. For example, if your connection requires an OAuth access token, use code similar to…
-
Contrasts Between Lightning Data Service and Apex
The lightning:record*Form and force:recordData components are the easiest way to work with records. They are built on top of Lightning Data Service, which manages field-level security and sharing for you in addition to managing data loading and refresh. You can use these components for objects that are supported by User Interface API Use Apex only if you’re working with a…
-
Recommend Salesforce Knowledge Articles
Offer users quick access to pertinent articles even before they initiate a search. Utilize the “Search.suggest(searchText, objectType, options)” method to provide a roster of Salesforce Knowledge articles whose titles correspond to a user’s search query. To enable the display of suggestions, make sure Salesforce Knowledge is enabled. For detailed setup instructions, consult the Salesforce Knowledge…