TransferPage
Mon 01 January 2018Syntax
TransferPage([PAGE.page_name_name])
Description
Use the TransferPage function to transfer control to the page indicated by PAGE. page__name or to the page set with the SetNextPage function. The page that you transfer to must be in the current component or menu. To transfer to a page outside the current component or menu, or to start a separate instance of PeopleTools prior to transfer into, use the Transfer function.
Note: If the visibility of the current page is set to False in a PeopleCode program, then you must invoke the TransferPage function to transfer control to a visible page.
See , .
Note: You canât use TransferPage from a secondary page.
Any variable declared as a Component variable will still be defined after using a TransferPage function.
Parameters
Field or Control |
Definition |
---|---|
page_name |
A String equal to the name of the page you are transferring to, as set in the page definition, prefixed with the reserved word Page . The page must be in the same component as the page you are transferring from. |
Returns
Optionally returns a Boolean value indicating whether the function executed successfully.