I have a project which has a view with a table. Rows are selected and then a button clicked which opens a popup and passes selection.data to a parameter. Most of the time, they actually want all of the rows, so I created another button which passes the tables props.data to the same parameter. In the popup, I address data in the parameter using scripts like PO = self.view.params.Selection[0].PONumber
I have this project on two gateways. One is v8.1.0 and this works whether I pass in the array from table.selection.data or the dataset from table.props.data. The other is v8.1.15 and I get the error Caused by: org.python.core.PyException: TypeError: ‘com.inductiveautomation.ignition.common.JsonDataset’ object is not iterable
Is there a quick way to convert the dataset to match the selection.data format?