Im using a library script to generate a dataset for a dropdown component using runscript() in the expression binding for the dropdown.data item.
The script cycles through a set of tags and adds values to the dataset based on some conditions.
This all works fine when the popup window is opened.
The popup window displays and allows manipulation of a PLC UDT item.
When this PLC data is modified and “Saved”, I want the dataset in the dropdown to refresh (i.e. rerun the script that is bound to the dropdown data item).
How do I do this?