Table of Contents

Initializing a session variable

By adding a shape data field of type InitVar to a page of a Visio drawing, you can initialize (i.e. declare) a session variable. The session variable will be loaded as soon as the page is opened in DataMiner.

Tip

For an example, see Ziine > Visual Overview Design Examples view > [data > VARIABLE1] page.

Configuring the shape data field

Add a shape data field of type InitVar to the page, and set its value to:

VariableName:Value

Dynamic content is supported in this shape data. You can use the placeholders [Guid], [thisusername], [thisuserfullname], [ThisGroup], [thismac], [This Service], [This ServiceID], [This EnhancedServiceID], [This View], [This ViewID], [This Element], [This ElementID], [This Card Object], [This Card ObjectID], or [FirstMac].

Note

If you want to initialize multiple values, separate the entries by pipe characters.

Initializing a session variable with a GUID

If you want to initialize a session variable with a GUID, use the following syntax:

VariableName:[Guid]

Examples

MyCounter:0
MyVar:1
VariableName1:value|VariableName2:value|...