8.5
Table Of Contents
- Table of Contents
- Welcome to PlanetPress Workflow 8.5
- System Requirements
- Basics
- Features
- The Nature of PlanetPress Workflow
- About Branches and Conditions
- Configuration Components
- Connect Resources
- About Data
- About Documents
- Debugging and Error Handling
- The Plug-in Bar
- About Printing
- About Processes and Subprocesses
- Using Scripts
- Special Workflow Types
- About Tasks
- Task Properties
- Variable Properties
- Working With Variables
- About Configurations
- About Related Programs and Services
- The Interface
- Copyright Information
- Legal Notices and Acknowledgements
AddKeySets
Inserts a new keyset inside GroupName and assigns values to keys as specified in KeyValues. Every key
specified in KeyValues must exist otherwise an error is raised. However, it is not required to specify all
available keys in KeyValues. Only the keys specified are updated in GroupName while unspecified keys
are set to an empty string.
Syntax
AddKeySets(GroupName: string, KeyValues: JSONObjectArray): JSONIntegerArray
Examples
JavaScript
repoObject.AddKeySets("Users", '[{"FirstName": "John","LastName": "Smith"},
{"FirstName": "Richard", "LastName": "Doe"}]');
VB Script
repoObject.AddKeySets "Users","
[{""FirstName"":""John"",""LastName"":""Smith""},
{""FirstName"":""Richard"",""LastName"": ""Doe""}]"
Sample return value
The method returns a JSONIntegerArray containing the ID's of all keysets inserted into GroupName:
'[131,132]'
AddValue
Creates a new KeySet by assigning Value to the key KeyName in Group GroupName. Note that
KeyName must exist in GroupName, otherwise an error is raised. See AddKey() for information on adding
a key to a group. Upon successful completion, the method returns the ID of the newly created KeySet.
Syntax
AddValue(GroupName: string, KeyName: string, Value: string): integer64
Examples
JavaScript