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 |
|
Make the available values in a field in the checkout panel dependent on values in another field
You can use API tailoring to make the values that are available for selection in a field in the checkout panel dependent on the value in another field in the checkout panel. For example, you can configure the Device field to only display options available to the user who is defined in the Requested for field.
To do this, follow these steps:
- In the System Navigator, click Tailoring > Script Library.
- Enter ScAPI_SRCConfig in the Name field, and then click Search.
-
Locate the following line of code:
localizeLabelId(xml.getFirstChildElement(), language);
-
Copy the following code before the
localizeLabelId
line:var fieldName = "";
var queryString = "";
if(srcConfig['screen.type'] =="")
{
var parent = xml.getParentNode();
var sections = parent.getFirstChildElement();
var section = sections.getFirstChildElement();
while ( section != null )
{
var textNode = lib.xmlHelpers.getElement( section, fieldName, "field" );
if ( textNode != null )
{
textNode.addAttribute("query",queryString);
}
section = section.getNextSiblingElement();
}
} -
Use
var fieldName
to define the field that will be dependent on another field.To do this, use the field name in the relevant table. For example, to define the Device field in the checkout panel, enter the logical.name field in the device table (
var fieldName = "logical.name";
). -
Use
var queryString
to set the field that will determine which values are displayed.To do this, use the field names in the relevant tables. For example, to define the Request for field in the checkout panel, enter the contact.name field in the device table and in the contacts table (
var queryString= "contact.name =[contact.name]";
). - Click Save.