I am working with a dropdown list control in Ignition Vision where the dropdown items are populated through a SQL query from a database. My goal is to have the user's selection in the dropdown be saved on the server, so that the same value is displayed when the window is reopened, no matter by whom.
Here's what I've done and the issue I'm encountering:
The initial value of tag & drop down selectedLabel property is like 'item01'
When a user opens the vision window, the default shown is 'Item01'. Then the user selects 'Item02' and close the window. The tag value is updated to 'Item02'.
However, when re-open the window , the user's previous selection 'Item02' gets overridden and reverts back to 'Item01', also for the tag value.
I assume this is overwrite by drop down selectedLabel property.
Could anyone suggest a method or best practice to do .