You need to sign in to do that
Don't have an account?
Custom Lightning Connect: Generating Multiple External Objects from a Single Datasource
Hi,
I currently have a custom lightning connect adapter that validates, syncs and generate an external object for a particular table in my datasource. Is it possible to have the same connector hit the same datasource and generate multiple external objects for multiple tables? I'm curious to see how this would look from coding perspective. I'm currently referencing the following:
https://developer.salesforce.com/blogs/engineering/2015/05/introducing-lightning-connect-custom-adapters.html
Thanks!
I currently have a custom lightning connect adapter that validates, syncs and generate an external object for a particular table in my datasource. Is it possible to have the same connector hit the same datasource and generate multiple external objects for multiple tables? I'm curious to see how this would look from coding perspective. I'm currently referencing the following:
https://developer.salesforce.com/blogs/engineering/2015/05/introducing-lightning-connect-custom-adapters.html
Thanks!
reference:This example shows creating 2 external objects using single data source.
https://developer.salesforce.com/trailhead/lightning_connect/lightning_connect_setup
Keep in mind that you have to know what table is accessed in the query(), search(), ... methods. You can do something like this: