Populating pull down lists from a script

Is there a command that will populate the items in a pull down list from a script? I want to initialize the pull down list as empty, then populate it within a script.

All these kinds of components with fields that take tabular data just need a dataset assigned to them.

You can create datasets easily with the system.dataset.toDataSet function.

Here’s the documentation for it: inductiveautomation.com/support/ … ataset.htm