ID Spaces

ID spaces describe what area of the application the object is located in. Objects sharing an ID space cannot have the same ID, whereas objects in different ID spaces can have the same ID. When referencing a particular object, it is important to know what ID space the object is located in. Otherwise, a token expression to get that object might cause an error or returned unexpected results.

ID Space

Scope

ap

ACCESSPROFILE

c

CLASSCONFIG

d

DEFAULTS

g

GROUP

k

CUSTOM_PROPERTY

n

NODE

ndi

NODEDATAIMPORT

nt

NODETYPE

o

ORGANISATION

p

CUSTOM_PERIOD

r

EXTERNALRESOURCE

rt

ROOT

t

ACTIONPLAN

t

SHAREDWEB

t

TEMPLATECATEGORY

u

USER

Note

For most objects, right-clicking the object in Configuration Studio and selecting Template Listing will display token expressions containing the ID space of the object.

get

The get() method can be used to search for an object within a specific ID space. It is given an ID in the form of a string, and it will return the object with that ID or MISSING if no object is found.

Syntax

Return Value

<ID space>.get(<string>)

The object with id string from ID Space

string

The ID of the object to search for

o.get("100")        // Returns the Organization with ID 100
t.get("12345")      // Returns the object with ID 12345