Blogs

  • Custom Adapter for Salesforce Connect on Stack Overflow

    This example illustrates how to support external lookup relationships and multiple tables. An external lookup relationship links a child standard, custom, or external object to a parent external object. Each table can become an external object in the Salesforce org. For this example to work, create a custom field on the Contact standard object. Name…

    Read more…

  • 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…

    Read more…

  • 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…

    Read more…