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: SCFile
- JavaScript method: SCFile.deleteAttachment( attachID )
- JavaScript method: SCFile.deleteAttachments()
- JavaScript method: SCFile.doAction()
- JavaScript method: SCFile.doCount()
- JavaScript method: SCFile.doDelete()
- JavaScript method: SCFile.doInsert()
- JavaScript method: SCFile.doPurge()
- JavaScript method: SCFile.doRemove()
- JavaScript method: SCFile.doSave()
- JavaScript method: SCFile.doSelect()
- JavaScript method: SCFile.doUpdate()
- JavaScript method: SCFile.getAttachment( attachID )
- JavaScript method: SCFile.getattachments()
- JavaScript method: SCFile.getBinary()
- JavaScript method: SCFile.getFirst()
- JavaScript method: SCFile.getLast()
- JavaScript method: SCFile.getLastRC()
- JavaScript method: SCFile.getMessages()
- JavaScript method: SCFile.getNext()
- JavaScript method: SCFile.getPrev()
- JavaScript method: SCFile.getPurgedRowCount()
- JavaScript method: SCFile.getText()
- JavaScript method: SCFile.getType()
- JavaScript method: SCFile.getXML()
- JavaScript method: SCFile.insertattachment()
- JavaScript method: SCFile.isRecord()
- JavaScript method: SCFile.setBinary()
- JavaScript method: SCFile.setFields()
- JavaScript method: SCFile.setOrderBy()
- JavaScript method: SCFile.setRecord()
- JavaScript method: SCFile.updateAttachment( attachObj )
JavaScript method: SCFile.isRecord()
This is a deprecated method as of version 6.1 because it does not use the HPE Service Manager-defined global return codes. It requires using the deprecated File() object with a query or query condition. The isRecord() method verifies that the query or query condition returns a Service Manager record.
Syntax
SCFile_object.isRecord();
Arguments
There are no arguments for this method.
Return values
A Boolean value: 1
(true) or 0
(false).
The method returns a Boolean value of 1 if the File object contains a Service Manager record or returns 0 if the method does not find a Service Manager record.
This method does not use the Service Manager-defined global return codes.
Example
This example does the following:
- Searches the probsummary table for any incident record you define in the search variable
- Displays the incident record object and the results of the isRecord() method
This example requires the following sample data:
- A valid incident record (for example, "IM1005")
- An invalid incident record (for example "incident")
var incidentQuery; function findTypes( query ) { print( "Searching for incident records starting with " + query + "..." ); var incidentFile = new File( "probsummary", "number#\""+ query + "\"" ); if ( incidentFile != null ) { print( "Successfully allocated a File object"); if ( incidentFile.isRecord() ) { print( "Success. Found incident records starting with " + query + ". The first record is:\n" + incidentFile ); return incidentFile } else { print( "Could not find incident records starting with " + query + "." ); return null } } else { print( "Could not allocate a File object." ); return null } } incidentQuery = "IM1005"; findTypes( incidentQuery ); incidentQuery = "incident"; findTypes( incidentQuery );
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to ovdoc-ITSM@hp.com.
Help Topic ID:
Product:
Topic Title:
Feedback: