QIRO
1
Hi all,
I have an menu element on my index page that can be shown or hidden through a WF and is accessible through multiple avenues (so cannot be inside the RE).
I have created an RE to replace multiple instances of similar elements on my page but I can no longer trigger the menu element through a WF.
Is there a way to trigger a WF on my index page from inside an RE?
eliot1
2
Hi, you can use ‘Trigger a custom event from a ReusableElement’ if you have your workflows in the RE pass as custom events
1 Like
Another approach is to set a state on the RE, and have a “when condition is true” set to “Everytime” action setup on the index page to do XYZ when RE’s state = ABC. You’d then reset the state after the action is performed.
QIRO
4
I thought of doing it this way to be honest, but as I’m using the RE’s to populate a menu, it would be a lot of checks!
I think I found a solution in added a param in the URL that’s picked up by a workflow on the main page.
QIRO
5
Thanks for the suggestion, never tried this but I’ll give it a go!
Use a JavaScript to bubble element to trigger an event, and call it from within the RE.
1 Like
system
Closed
7
This topic was automatically closed after 70 days. New replies are no longer allowed.