Hello Dojo,
I have successfully integrated a low-code application into Cube software following a tutorial(https://community.dataminer.services/courses/kata-20/), and the basic integration works perfectly.
However, I'm now looking to create interactive actions between Cube and the integrated application. Specifically, I want to achieve bidirectional communication:
From integrated app to Cube:
- When I click on a view in the integrated app, I want Cube to automatically open that view in a new card to display detailed information
I've found a few limited functionalities for this type of interaction, but they seem quite restricted. For example, I can manage to open the view card, but it closes the app card, and I can't find a way to open it in a separate new card.
From Cube to integrated app:
- When I click on an element in Cube, I want the integrated app to respond (for example, zoom to a specific location on a map)
My questions:
- Are there more extensive commands available for this type of bidirectional communication?
- Could someone point me to the official documentation covering these interaction capabilities?
Thanks in advance for your help.
Hi Alexandre,
There are no other special commands to control Cube from an LCA. Currently the LCA can only open element, view & service cards.
LCA to Cube
When the LCA is embedded in Cube, you can use the 'Open monitoring' card action to open the corresponding card in Cube. To make sure that the card with the app doesn't close, you can first open a second card and set that one as the master. This means that all new content will open in this 'master' card.
Cube to LCA
To interact with the LCA when opening a different card in Cube, you can make use of URL actions and Visio session variables. The url that is used to embed the LCA should have a session variable at the end that contains the 'pan to view' & 'set zoom level' actions to focus a position on the map. Opening a new card visual should then modify this same session variable to insert the desired position & zoom level the map should be at in the actions config. Finally, the app will execute the newly created action and position the map accordingly.
Hello Wout,
thank you for your answer !