beautypg.com

Object id, Object field, Object id object field – Visara Master Console Center Scripting Guide User Manual

Page 26

background image

Chapter 2 Advanced Topics

Scripting Guide

26

Object ID

The Object ID is an integer value generated by the GCL scripting
language to refer to an object. An object ID is unique to each object
within individual scripts.
Advantages to implementing object IDs:

ƒ

Speeds execution time.

ƒ

Reduces script maintenance issues.

ƒ

Eases implementation.

Note: Do not pass an ObjectID to different scripts as an

argument. Rather, pass the object name, which is
guaranteed to be unique across scripts. Generally, the
MCC system assigns each script a different Object ID.

Object Field

Object fields exist for each object. Refer to the configuration management
chapter of the Administration Guide for configuration information. There
is only one intrinsic field, called ‘Taskname’. It is always the left-most
field displayed in the Task List (Taskman). Users can define their own
additional fields and/or use some of the default MCC fields.
Refer to the OBJ family of GCL commands in Chapter 5 Script
Commands
for information on utilizing object fields. (Those commands
beginning with “OBJ”.)