![]() ![]() The primary piece of a Custom Adapter is an Apex class that extends DataSource.Connection class and provides implementations for the sync, query, and search methods. Sign-up for a new Developer org for experimentation and testing if you need a clean slate to use. Custom Adapters are written in Apex and you can follow along using the Developer Console on any Salesforce org with Lightning Connect enabled. Let’s walk through a simple example of using the Lightning Connect Custom Adapters to pull data from the GitHub API into Salesforce. OAuth is also supported for services that use authentication. The Lightning Connect Custom Adapters enable you to easily pull in any RESTful (XML or JSON) data sources into Salesforce. Lightning Connect has out-of-the-box support for the OData format but also allows you to plug in custom adapters that can connect to any data source which Apex code can communicate with. This allows users to interact with data across multiple sources from a single user interface instead of having to jump between different systems. Lightning Connect makes this easy by allowing external data sources to be exposed in Salesforce and correlated with standard object, custom objects, and other external data sources. Data silos required complex integration and ETL (Extract-Transform-Load) tooling to provide correlations in a single user interface. In the past it was a huge challenge to provide system users with meaningful views across disparate data sets. ![]()
0 Comments
Leave a Reply. |