One SysObject, called Sys, is automatically created. This object is available in all contexts, and provides general functions as well as information about the Data Relationship Management application. There are no properties for this object.
Table 16. SysObject Methods
Name | Description |
|---|---|
FormattedDate (value, formatString) | Formats dates according to the Formula system rules. Useful for backward compatibility to exactly match old Formula properties.
|
GetNextID(key) | Returns the next available integer ID for a given string key value |
GetPropDef(abbrev) | Returns a PropDefObject for the given property name. The name must be the fully qualified name. |
GetRequestByID(int) | Returns a workflow request by ID. |
GetSysPrefValue(abbrev) | Returns the value of the given system preference (for example, HierNodeSeparator) |
InRange(dataType, input, min, max, minExclusive, maxExclusive) | Corresponds to the formula function InRange. Required parameters are dataType, input, and min. |
IsNodeAbove(ancestor, child) | Returns True if ancestor is above child in the hierarchy. Returns False if parameters are not LocalNodeObjects or are not in the same hierarchy. |
IsNodeBelow(descendant, parent) | Returns True if descendant is below parent in the hierarchy. Returns False if parameters are not LocalNodeObjects or are not in the same hierarchy. |
RunFormula(node, propDef, formulaString) | Runs a Data Relationship Management formula and returns the string results
|