On a page, I have an UDSelect with a few options. That value is used to query a database and populate a variable that a UDTransferList uses to create it’s options. When the selection changes on the Select, I want to use that value to query the database and get a new list and update the UDTransferList options.
So far I have that working using onchange for the UDSelect , getting the value, retrieving the list and setting a Session Variable, then the UDTransferList is wrapped in a New-UDElement and I call the Sync on the Wrapper UDElement.
The catch is, I would like to be able to open multiple tabs in the same browser and have them independent. But, using a session variable, it is no longer isolated to the page, and as expected it is instead messing with the other tab.
Is there an easier way to do this? I have tried it without the session specifier, but the wrapper udelement and the transferlist only see the old values. I have tried with “global:” specifier on the variable and also doesn’t get updated values.