Data exchange between embedded modules in Workshop

I have a Contract Ontology, and in my Workshop app I’m using a Loop layout with an embedded module to display all Contracts (I’m not using a table due to design and layout requirements).

From the parent module, how can I click in a button that is inside the child embedded module (loop layout), and execute an action in the parent module?

In the end of the day, I want to list all Contracts but when the user clicks a button to open the contract, I want to navigate to a new page in the Parent module

Hi @cg-proxet,

You can use the module interface variables that you set in your module. You can use these as variables that affect e.g. “Active Tab” variable(s) and also to ‘export’ the selected Object to a variable, which can be opened in the ‘mother’ application.

Adding a simple “Open”-button to each element of your loop, which assigns the selected Object to an interface variable and then sets a defined value for the “Active Tab” variable that corresponds to the name of the tab in your mother application, that you want to open.

If you’re not using tabs, you can use conditional variables in the same way.

Let me know if you run into any issues.