+ Start a Discussion
Claudius LiClaudius Li 

Creating custom adapter for Lightning Connect


We're trying to use Lightning Connect for a project that uses Analytics Engine and the Journey Engine but our data source does not support OData, only REST.

These links:

suggest that it is possible for us to create our own adapter.

Am I reading that correctly?
Are there any scalability concerns?
Would this do the same thing that the native OData adapter does or does  the native adapter have additional functionality?
Is there a better way to do this?

Our alternate plan is to create a translation layer using Olingo but I'm worried about the performance implications of having a translation layer.
Mohith Kumar ShrivastavaMohith Kumar Shrivastava


The above blog is awesome source from salesforce engineering team .For your scenario I think this will really fit .I would recommend you to take help of salesforce support to know if there are any perfomance imitations with this feature .

One thing you will need to remember is you will be adding lot of code to query and create your external objects .
Agustina GarciaAgustina Garcia
Yes, by Summer'15 release, Salesforce has deliver the new Apex Connector as GA, so you can use it. You can also find in this link (https://www.youtube.com/watch?v=GGvCcuTbhZE) my DF'14 (https://www.youtube.com/watch?v=GGvCcuTbhZE) presentation about Lightning Connect where I talk about Apex Connector (it was still in pilot - minute 15) showing a hard code use case. I hope this also helps.