ViewContentURLFluid function
Syntax
ViewContentURLFluid(URL [, new_window])
Description
Use the ViewContentURLFluid function to navigate to the fluid content specified by the URL parameter. Use the ViewContentURLFluid 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 fluid 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, the fluid content completely replaces the entire browser window. This is similar to how the ViewURLTop function operates.
-
When invoked from outside a fluid activity guide or master/detail component, the fluid content completely replaces the entire browser 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 &sURL = GenerateComponentContentURL(%Portal, %Node, MenuName.HRSC_HIDDEN_FL, "GBL", Component.HR_PSEL_FLU, Page.HR_PSEL_FLU, %Action_UpdateDisplay);
ViewContentURLFluid(&sURL);