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 object: SCDatum
- JavaScript method: SCDatum.getSize()
- JavaScript method: SCDatum.getText()
- JavaScript method: SCDatum.getType()
- JavaScript method: SCDatum.getXML()
- JavaScript method: SCDatum.join()
- JavaScript method: SCDatum.JSDate()
- JavaScript method: SCDatum.length()
- JavaScript method: SCDatum.pop()
- JavaScript method: SCDatum.push()
- JavaScript method: SCDatum.setType()
- JavaScript method: SCDatum.setValue()
- JavaScript method: SCDatum.shift()
- JavaScript method: SCDatum.toArray()
- JavaScript method: SCDatum.unshift()
JavaScript method: SCDatum.join()
This method returns the elements of either a Service Manager Datum array object or a JavaScript array. This method does not use the Service Manager global return code values.
Syntax
SCDatum_object.join();
Arguments
There are no arguments for this method.
Return values
A string.
The method returns the elements of an array.
Example
This example does the following:
- Searches the probsummary table for any incident record you define in the search variable
- Displays the new incident record as a text string
- Displays the contents of action field using the join() method
This example requires the following sample data:
- A valid value for the number field (for example, "IM1010")
- An incident record with an action field value (for example, "IM1010")
var incidentID; function findIncident( id ) { print( "Searching for Incident record: " + id + "..." ); var incidentFile = new SCFile( "probsummary" ); var rc = incidentFile.doSelect( "number=\"" + id + "\"" ) if ( rc == RC_SUCCESS ) { print( "Success. found Incident record:\n" + incidentFile.getText() ); print( "Displaying the contents of the action field as an object: " + incidentFile.action ); print( "Displaying the contents of the action field with join() method: " + incidentFile.action.join() ); return incidentFile } else { print( "Could not find Incident record. " + RCtoString( rc ) ); return null } } incidentID = "IM1010"; findIncident( incidentID );