I’m struggling with a repeating group and a reusable element, and I’d really appreciate your help!
I have a repeating group displaying posts. Initially, each cell had a context menu that allowed toggling additional elements in the cell or creating things from inside each cell. However, for design reasons, I changed this to a clickable group that toggles a focus group, containing the menu options.
Since the focus group didn’t work correctly inside each cell, I made from the entire context menu a reusable element. This is where my headaches began!
I at least managed to get a popup to show when clicking a menu option inside the focus group by:
Workflow in the reusable element: “Go to (main) page → Send more parameters to the page.”
Workflow on the main page: "Do when the page gets parameters → Show popup.
But I’m still stuck on two major issues:
How can I send the current cell’s data to the popup?
How can I toggle an element inside the repeating group cell from a workflow in the reusable element?
Not being able to access elements in the repeating group directly from the reusable element’s workflow is really frustrating. I’d love to hear any suggestions or workarounds.
Thank you so much for your quick reply. I tried something similar, but the workflow step said something like “expected text value”. But maybe the approach was not correct?
Thank you for your hint. This is what I have so far.
But now I do not have no clue how to send the data to the popup from there (pic2). Please excuse, I’m still pretty much a beginner and don’t know many of the functions yet.
Do I have to send the uniqueID to the popup from the main page workflow (spark) or get the data from the popup itself?
Somehow I managed to get the eventID on text level (last picture). But on popup level and group level (group in the popup) the yellow path sends me to nowhere (it gets red after that). I am left with options beginning with “:” But this can’t be correct as far as I know. I woud be grateful if you have a helping hint. But at least, I think I am getting to the solution.
In the first image you just need to change the parameter type to match the database type, that should return 1 Event from the database via the ID.
OR
If you are using the “do a search for” then you need to add a constraint which is uniqueID and pass the url parameter there, and then retrieve the first item.
I’m partially flying blind here because I’m not sure of your full use case. So far I’ve just told you how to get one item through the URL and retrieve it in a group.