Contents
Strategic Partner Links
Sepasoft - MES Modules
Cirrus Link - MQTT Modules
Resources
Knowledge Base Articles
Inductive University
Forum
IA Support
SDK Documentation
SDK Examples
Takes a dataset and returns a new dataset with all of the same column names, but all of the rows deleted.
This scripting function has no Client Permission restrictions.
system.dataset.clearDataset(dataset)
Dataset dataset - The starting dataset. If NULL, a NULL dataset will be returned.
Dataset - A new dataset with no data.
All
# This example pulls in the dataset from a Table component, clears it, then writes the empty dataset back to the table. data = event.source.parent.getComponent('Table').data event.source.parent.getComponent('Table').data = system.dataset.clearDataset(data)