Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
- JavaScript global System objects
- JavaScript object: system.files
- JavaScript object: system.forms
- JavaScript object: system.functions
- JavaScript object: system.functions.scmsg
- JavaScript object: system.library
- JavaScript object: system.oldrecord
- JavaScript object: system.record
- JavaScript object: system.sysinfo
- JavaScript object: system.threads
- JavaScript object: system.user
- JavaScript object: system.users
- JavaScript object: system.vars
JavaScript object: system.library
The following JavaScript object is unique to Service Manager.
The system.library object allows you to call a particular Service Manager script library function.
Usage
system.library.script name.function name( function arguments )
Note Service Manager global system objects do not have constructors.
Arguments
The following arguments are valid for this function:
Argument | Data type | Required | Description |
---|---|---|---|
function arguments
|
String | Yes | This argument contains the function arguments you want to use. |
Properties
The following properties are valid for this object:
Property | Required | Description |
---|---|---|
script name
|
Yes | This argument contains the script name you want to run. |
function name
|
No | This argument contains the function name you want to run. |
Methods
None
Example
This example does the following:
- Creates an array.
- Calls a script to check if a value is in the array.
var testArray = new Array(); testArray.push("Blue"); testArray.push("Pink"); var result = system.library.ArrayUtil.contains(testArray, "Blue"); print("The value you specified is in the array: " + result);