I’m trying to push data from one reusable element to another. I have found this solution that’s about setting up a custom state on the first RE and then set the second one with the same custom state but that doesn’t work for me. Does anyone here is familiar with the complicated move?
Hi @mdburhan3 thanks for sharing I actually already checked this one but I’m trying to pull all my platform into a one-page and this solution doesn’t seem very sustainable in regards of all the RE that I envision to work with. I’m surprised there isn’t a simple and logic way to get RE ‘communicating’ together…
I actually use the URL to move from one RE to another as it’s recommended by many experts and that works pretty well, but it’s restricting me from doing a specification action in a first RE that would push some data into the next RE.
You can use the Custom state to pass data or store data.
Put the state on the main group inside the reusable element, which can be retrieved by another reusable element
When you display the two reusable element on the page, get the Reusable A’s data(custom state) and pass it to other Reusable B’data (custom state), whether it’s a list or not.
Thanks for sharing @vence.naga ! I actually figured it out by pushing the unique ID of the data that I want to push into the reusable and that works perfectly.
How do I get the reusable data and pass it to another reusable group?
I have an app with a button in a reusable element which is meant to upon clicking open ANOTHER reusable element and send data to it, I’m sure its simple to figure out but im reading all these forum posts and don’t understand. If someone could help me out that would be great thanks.