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 and Service Manager reference
- JavaScript global System objects
- List: JavaScript global methods
- JavaScript global method: base64Decode
- JavaScript global method: base64Encode
- JavaScript global method: compile
- JavaScript global method: doHTTPRequest
- JavaScript global method: doSOAPRequest
- JavaScript global method: execute
- JavaScript global method: getLog
- JavaScript global method: help
- JavaScript global method: insertDatum
- JavaScript global method: makeSCWebURL
- JavaScript global method: print
- JavaScript global method: Quit
- JavaScript global method: RCtoString
- JavaScript global method: readFile
- JavaScript global method: setAppMessage
- JavaScript global method: stripHtml
- JavaScript global method: uncompressFile
- JavaScript global method: writeAttachmentToFile
- JavaScript global method: writeFile
- JavaScript global method: xmlstring
- Service Manager defined JavaScript objects
- List: JavaScript functions
- List: JavaScript functions in the ScriptLibrary
- List: JavaScript examples
List: JavaScript global methods
Global methods are functions that are available to any script as they are not methods of any specific object. You can invoke global methods directly just as you would do with any core JavaScript global functions such as parselnt() or eval().
This is a complete list of all the global methods available in Service Manager.
Global method | Description |
---|---|
base64Decode | Converts base 64 string data to its original format. |
base64Encode | Converts binary data to a base 64 string format. |
compile | Validates the syntax of the specified JavaScript. |
doHTTPRequest | Issues an HTTP request to a specified URL. |
doSOAPRequest | Issues an SOAP request to a specified URL. |
execute | This method performs the specified process or program. |
This method retrieves a logger named according to the value of the name parameter. | |
help | Displays a brief description of a Service Manager-defined JavaScript object. |
makeSCWebURL | Creates a URL query to the Service Manager Web tier. |
Displays a message in the client Messages view. | |
Quit | Allows JavaScript to abort processing and return a failure return code. |
RCtoString | Converts a Service Manager global return code value into a localized text string. |
readFile | Reads data from the local file system. |
setAppMessage | Defines the message returned in the "message" attribute in the soap response. |
stripHtml | Takes HTML content and strips out the HTML tags and returns the content as text without the HTML tags. |
uncompressFile | Expands a .zip file into a specified location. |
writeAttachmentToFile | Writes a requested attachment record to the local file system. |
writeFile | Writes data to the local file system. |
xmlstring | Converts a JavaScript string to an XML string. |