To display your own component with an external data list in a pop-up window that users can choose to dynamically retrieve data for smart modules, you can define the parameter “externalSmartElementsLibrary” during the initialization of the plugin:

   externalSmartElementsLibrary: {
        openLibrary(onDataSelectCallback, onCancelCallback) {
/* Put your logic here.
                key: value
               when the user selects the data from the external library.
               when user close the library without image selection.

Please find a code example here to see how it works.

Did this answer your question?