Script Elements for Handling Objects
You can use script functions to create, read and modify objects.
This page includes the following:
Move or Remove Objects
- 
                    
EXPORT
Exports objects to an XML file - 
                    
IMPORT
Imports objects from an XML file - 
                    
MOVE_OBJECT
Moves an object to a folder - 
                    
REMOVE_OBJECT
Deletes an existing object 
Retrieve Object Attributes
The following script elements read an object attribute or other data related to the object.
- 
                    
GET_ATT
Returns the value of a task attribute during generation - 
                    
GET_ATT_PLAIN
Returns the value of a task attribute during generation without resolving variables - 
                    
GET_OBJECT_TYPE
Returns the object type of a task - 
                    
GET_OH_IDNR
Returns the internal number of an object 
Modify Object Attributes
The following script elements read or modify an object attribute or other data related to the object.
- 
                    
:ADD_COMMENT
Adds a comment to a task - 
                    
MODIFY_UC_OBJECT
Modifies an attribute of an active object - 
                    
:PUT_ATT
Modifies the value of an object attribute during generation 
Specific Object Types
The following script elements create, read or modify values stored in a specific type of object.
- 
                    
:ATTACH_RES
Specifies resources to use with the UNIX or Windows agent - 
                    
CREATE_OBJECT
Creates a Calendar, Login or VARA object - 
                    
GET_CONNECTION
Reads information from a DB-type Connection object - 
                    
GET_LOGIN
Reads information from a Login object - 
                    
GET_SYNC
Queries the current condition or value of a Sync object - 
                    
MODIFY_OBJECT
Changes an existing Calendar, Login or VARA object - 
                    
:SET_CALE
Inserts or deletes a date or time period in a Calendar object 
See also: