Page-Set-Messages method |
Use the Page-Set-Messages method to add a message to a clipboard page. Like a message associated with a property, a message associated with a page normally prevents the page from being saved into the database.
A later Page-Clear-Messages method applied to the same page removes the messages set by this method. In addition, page messages are cleared when a workstation user submits an HTML form to the PRPC server that includes values for properties on that page.
This method has three parameters:
Parameter |
Description |
Page |
Enter a named page from the Pages & Classes tab to contain the message. Use the keyword This field is optional. If you leave it blank, the system uses the step page, or the primary page if no step page is specified. |
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:
|
The message becomes associated with the page as a page message.
This method updates the pxMethodStatus property. See How to test method results using a transition.
page message | |
About Message rules
Page-Clear-Messages method Property-Set-Messages method |