Skip to main content

As the title already mentions, I’m working on a POC following the instructions from this walk through:
https://developer.lucid.co/docs/lucid-card-integrations

 

But when it comes to the point of actually importing the cards, the articles creates a separate dataconnector to perform the import. More specifically in this part of the walk through:
https://developer.lucid.co/docs/lucid-card-integrations#call-the-import-action

 

Is it possible to implement the import function to just make an http call from the editorextension? Or it is a requirement to use a connector in between? If so, are there any examples available?

 

Thanks.

Hello Fernando,

 

Yes, it is possible to bypass using a data connector in your card integration. To do so, you need to create collections and data sources to store the information you imported on your Lucid document. Although, using a data connector is useful as it has predetermined endpoints (import, poll, hard refresh), that do a lot of the heavy lifting of communicating updates from the 3rd party over to Lucid and vice versa (more information on data connectors can be found here). For an example of an integration that does not use a data connector, I would recommend looking through our rental car manager example extension. Otherwise, our base example card integration should be useful if you do end up using a data connector.

 

Let me know if you have any other questions!

Connor


Reply