Secured scripting with ObjectDataSet

In secured scripting mode, the ObjectDataSet command cannot work simultaneously with other Optiva scripting API’s. To work directly with the data set of an object, you must call the ObjectDataSet command and then make changes to the DataSet object.

You can call any of the other Optiva scripting API’s to change or view information that is stored in the system. In this case, the information in the DataSet object is flushed back to the system. The DataSet is destroyed. Any attempts to access this DataSet result in .Net exceptions being thrown.

You can make a new call to ObjectDataSet to retrieve a new copy of the DataSet. Then, you can make additional changes.