ViewContentURLClassic function
Syntax
ViewContentURLClassic(URL [, new_window])
Description
Use the ViewContentURLClassic function to navigate to the classic content specified by the URL parameter. Use the ViewContentURLClassic function as an alternative to the Transfer function or the ViewContentURL function. The result of this function depends on the source from which it was invoked:
-
When invoked from within a fluid activity guide or master/detail component with AJAX transfers enabled, the classic content replaces the target content area within the fluid activity guide or master/detail wrapper.
-
When invoked from within a fluid activity guide or master/detail component with AJAX transfers disabled:
-
If the source component is a classic component, the classic content replaces the target content area within the fluid activity guide or master/detail wrapper. This is the same as when AJAX transfers are enabled.
-
If the source component is a fluid component, the classic content completely replaces the current window. This is similar to how the ViewURLTop function operates.
-
-
When invoked from outside a fluid activity guide or master/detail component the classic content completely replaces the current window. (This is similar to how the ViewURLTop function operates.)
This is a deferred execution command: the browser is launched after any executing PeopleCode has run to completion.
Parameters
| Parameter | Description |
|---|---|
|
URL |
Specify the location to navigate to. You can specify the URL either as a string value or as a URL saved in the URL table using the following format: URL. URL_ID |
|
new_window |
Note: This parameter is ignored and has no effect. |
Returns
None.
Example
Local string &strURL = GenerateComponentContentURL(%Portal, %Node, MenuName.PROCESSMONITOR, "GBL", Component.PROCESSMONITOR, Page.PMN_PRCSLIST, "U");
ViewContentURLClassic(&strURL);