Use this method to associate a text message with a property. The system reads the appropriate property and adds the message to the property. If a property is on an embedded page, the message is added to all its parent pages.
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. Do not confuse method parameters with message parameters, which appear within the Message parameter, and are numbered.
This method has three parameters:
|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 property. 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 property and its parent pages. 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.
Checking the method status
This method updates the pxMethodStatus property. See How to test method results using a transition.
Previous topic Property-Seek-Value method Next topic Property-Set-Stream method