Switches the default context of a function call. Use this function if there is a need to cross the boundaries of context, for example, if a VariableSet data source on the root page must be accessed by controls on a subpage.
Returns the result of executing the function func. This could be a result value, or a Promise that yields a result value.
The required context refers to the root context if it has the value "" (empty string). A subpage within the root context is referred to by the name of the page. Names of pages contained in pages are separated from the name of the containing page by a forward slash ("SubPage/SubSubPage").
The required func is the function call for which the default context is being switched.
See also the "Contexts" article in the "Active Web Browsers" section of the Knowledge Base on USoft Community.