Property-Set-Messages method |
Use this method to associate a text message with a property or a step page. The system reads the appropriate property and adds the message to the page. You can provide the entire literal text of the message, or reference a message rule key that in turn contains message text (Rule-Message rule type).
Some message rules accept fill-in-the-blank parameters, identified in the message text by a number within parentheses. (Don't confuse method parameters with Message parameters, which appear within the Message parameter, and are numbered.)
This method has three parameters:
Parameter |
Description |
Category |
Enter a localization category that is the second key part of a field value. The default is pyMessageLabel. Otherwise, leave this field blank. |
Message |
Identify the message to add to the page. You can enter values in this field in one of the following ways:
|
Field |
Identify the property on which the message is set. |
The message is added to the page. This usually prevents the page containing the message from being saved. Associating a message with a property does not directly cause that message to be displayed to a user.
This method updates the pxMethodStatus property. See How to test method results using a transition.
language-specific RuleSet, property message | |
About Messages
Constants in expressions Property references in expressions |