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 |
|
Triggers
A trigger monitors a file for certain types of activity, such as Adds, Updates, or Deletes, and launches a specified JavaScript or RAD application when the appropriate conditions occur. You can supply custom JavaScript or RAD code to launch a specific action when the trigger conditions apply.
Create a Trigger record
Applies to User Roles:
System Administrator
To create a trigger record:
- From the System Navigator, click System Definition > Tables > triggers.
- From the Keys sections, click New.
- From the General section, select the trigger type from the More Actions menu.
- Click Add.
- From the Fields section, modify the properties of the available fields to define the trigger.
You can use the table below as a general guideline for the most commonly-used parameters.
Property Description trigger.name Any unique, meaningful name. table.name Select the file to be monitored by this trigger. trigger.type Select the specific activity to react to:
1 - Before Add - When adding a new record to this file, launch the application prior to committing the addition.
2 - After Add - When adding a new record to this file, launch the application after committing the addition.
3 - Before Update - When modifying a record in this file, launch the application prior to committing the change.
4 - After Update - When modifying a record in this file, launch the application after committing the change.
5 - Before Delete - When deleting a record in this file, launch the application prior to performing the deletion.
6 - After Delete - When deleting a record in this file, launch the application after performing the deletion.
Note: Only triggers of type 4 (After Update), and type 6 (After Delete) are supported by Cascade Updates.
application.name The RAD application to launch.
Note: The RAD application may not require parameters and will only have access to $L.old, the record prior to the change, and $L.new, the post-change record.
Note: For most Cascade Updates, set to cascade.update.wrapper. The only exception is if the file you are monitoring is the device file or a related device attribute file, such as joincomputer. In those cases, set to am.cascade.update.wrapper.
Edit a trigger
Applies to User Roles:
System Administrator
To edit a trigger:
- Click Tailoring > Database Manager.
- Type triggers in the Table field, and then click Search.
-
Click Search again.
A list of records opens.
- Select a record to edit.
- Update the following information about the trigger:
- Trigger Name
- Table Name
- Trigger Type
- Application
- Script
- If you make changes, click Save.
Related topics