2022.2

Table Of Contents
Data repository structure
The table below lists the different levels in the repository and what their names corresponds to:
The term ... ... is the same as an Excel ... ... is the same as a Database ...
Group Sheet Table
Key Column Field
KeySet Row Record
Note: Group and key names are case-insensitive.
API Reference
Obtaining an instance of the Repository Object
The Data Repository is accessed via a COM object that exposes methods to store and retrieve data
within the Repository.
JavaScript
var repoObject = new ActiveXObject("RepositoryLib.WorkflowRepository");
VB Script
set repoObject = CreateObject("RepositoryLib.WorkflowRepository")
In each example in this documentation, the object repoObject is deemed having been obtained
through the above call to the COM object.
The default Repository is always stored at the same location (see "Where to find the Data Repository"
on page81).
The ConnectionString property allows to create an instance of the Repository at another location;
see "ConnectionString" on page81.
Using a JSON parameter or return value
Whenever a parameter or return value is defined as a JSONStringArray type, that JSON array is itself a
string. Since a JSON array internally defines double quotes as the delimiter for each element, you must
enclose the entire string in single quotes. Alternatively, you can escape the double quotes inside the
JSON Array.
For instance, the following calls to AddGroup() are correct:
repoObject.AddGroup("MyGroup",'["FirstKey", "SecondKey"]');
repoObject.AddGroup("MyGroup","[\"FirstKey\", \"SecondKey\"]");
But the following is incorrect:
Page 147