Script Library Item Object
The Script Library Item is an object type in the Script Model used to host a Lua library that is accessible by the Node, its child objects in the I/O Model and on Nodes that have a corresponding Node Delegate object located underneath the Node Delegate object representing the sharing Node in the Delegate Model.
Disabling Script Library Item objects in the tree prevents them from being loaded using the "require" function in eligible script executing objects. When reenabled, the library can be loaded again using "require".
For more information on Script Libraries see Script Libraries page of the Lua Scripting Features documentation.
Create Object
1 Connect WebStudio to the Admin Node and open the System Config App.
2 Open the Script Model tab and select a Script Library Group object for which the new Script Library Item object shall be created.
3 Right-click this object and select to open the Create Object Wizard.
4 In the Available Object Types List, select Script Library Item.
5 In the Common section, provide an Object Name and, optionally, a Description.
6 Click Create to create the Script Library Item object in the Script Model.