By the way, one challenge with the plugin (which is not a bug, but a general Bubble issue as far as I know), is that if the Env. Variable element is hidden when the variable is set, it will not receive the data until you “rewrite” the variable content again. This is especially a challenge with reusables, that are often invisible by default until they’re needed. It can easily be solved with workflows of course, but I’m curious if there are other ways this could be solved.
Something like a checkbox “Automatically fetch value when element becomes visible” or something. Is that something that could be implemented? Or do you know of an easy fix that I’m overlooking?
You, my friend, are a BUBBLE HERO! This is awesome! Pair this with an If-Then-WF and you can do just about anything
I’ll be updating my plugin today!
I did not know this. For clarification, if I use an Env called activejob in one reusable, I can set the value of that Env from a second reusable without adding an Env on the second reusable?
Oh yes absolutely… reusable, repeating group, main page etc. anywhere you can run a workflow from, you can set the value of an env. The element is required only to create & read the value of an env
There’s a nifty little preview feature as well there If you want to quickly see the variable names you’ve defined in the element just increase the size and it’ll list those as preview
I just want to add some instructions here as I spent about a half hour testing to figure this out…specifically one detail that is essential to functionality
The variable name MUST be exactly the same ( including capitalization…that threw me off and caused me to test and retest )
You do not need to try and connect the Env Var elements…it is done magically ( I guess that’s the genius of the plugin )…so just place the Env Var element on the page or in the RE or RG you need to communicate with other elements, set up the variable name and type to match and then when one gets changed, they all get changed.