Activity Page methods in pega

Page-Copy method

The page-Copy method is used to copy the contents of a source clipboard page to a new or previously created destination clipboard page. The source page is not altered.
After this method completes, the destination page contains properties copied from the source page and can contain additional properties from a model.

Page-New method

The Page-New method is used to create a page on the clipboard. The new page may be a top-level page or an embedded page.
We can identify a model to initialize the newly created page. The model can set values for one or more properties.

Page-Remove method

Page-Remove method is used to delete one or more pages from the clipboard. The contents of the database are not affected.

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.

Show-Page method

The Show-Page method used to send an XML representation of the step page to a user’s Internet Explorer browser session, as an aid to debugging.
Note: Use Show-Page and Show-Property only for debugging.

Show-HTML method

Internet Explorer uses the Show-HTML method to cause the activity to process an HTML rule and send the resulting HTML to a user for display. This may involve the interpretation of JSP tags (or the older directives), which can access the clipboard to obtain property values, or can insert other HTML rules, and so on.

more on activities Full knowledge on the activity


No comments:

Post a Comment