I am wondering if there is a way to keep parameter values in a widget. I have several internal parameters that I am using, but on panel reload, all those parameters get reset to the default values stored in the widget descriptor.
For example, I am building a widget that allows the user to enter several Xpression Take IDs and generates a button that takes that item for each item in the list. Currently I just have this working directly in the panel, so as you can imagine there is a lot of repeating code and parameters. I know I could keep the param that holds all the take IDs outside the widget and just reference it in the widget, but I would like the user to be able to keep as much contained in the widget as possible so it's easier to add and delete these widgets as needed.
If this isn't possible, my current plan it to build a "database" as a structured param, and use that to manage data for each widget, but if there is an easier way to go about this I would prefer that.
As always, thank you all for your help!
------------------------------
Andy Bentley
Broadcast Support Engineer
Elevation Church
------------------------------