Navigates to a different page.
Returns a Promise object or the 'this' object.
The required page is a string that identifies the page being navigated to.
Options is a struct that can have the following items, all of which are optional.
Target-frame is a string identifying the target frame in which page is to be opened. If not specified, the page is opened in the current context.
Apply-changes is a boolean that defines whether changes must be applied. The default is true.
New-page determines if the record data on the previous page must replace the initial data on the target page or not.
•If new-page is false (the default), all data from the previous page are merged with the new data sources that exist on both pages. Data sources that do not exist on the new page are discarded.
•If new-page is true, all data of the previous page are discarded and re-queried where requested. This is also the case with page navigation using the Menu Control, which has this option set to true by default.
Quiet is a boolean that determines whether or not a message is displayed if an error occurs. Default is false, meaning that a message is displayed by default.
Promise determines the return value of this function. If promise has the value 'true' (the default), a Promise object is returned. If promise has the value 'false', the ‘this’ object is returned instead.
Success-function is a function called after the operation has successfully completed.
Error-function is a function called if an error occurs.