ViewContentURLModeless function

Syntax

ViewContentURLModeless(URL, [modal_options])

Description

Use the ViewContentURLModeless function to open a modeless modal window displaying the PeopleSoft component content (either classic or fluid) specified by the URL parameter. The user must dismiss the modeless window before continuing work in the page from which the modeless window was called.

Important:

Use this function within fluid applications only.

Parameters

Parameter Description

URL_str | URL. URL_ID

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

modal_options

Specifies custom modal options as a String value. See Fluid User Interface Developer’s Guide: Modal Options for more information.

Returns

None.

Example

Local string &sUrl;
Local string &sMenuTitle;
Local string &sOptions;

&sUrl = GenerateComponentContentURL(%Portal, %Node, MenuName.ROLE_CUSTOMER, %Market, Component.BI_CONTACT_INFO_SS, Page.BI_CR_CARD_LIST_SS, "U");
&sMenuTitle = EscapeHTML(MsgGetText(11124, 524, "Message Not Found: New Window")); 
&sOptions = "sTitle@" | &sMenuTitle | ";width@640;height@400;";
ViewContentURLModeless(&sUrl, &sOptions);

Modeless Windows

In addition to modal secondary windows, you can create modeless secondary windows. A modeless window is different from a modal window launched by any of the DoModal* functions in that its state is separate from that of the parent, launching component. When a modeless window is launched from a classic component using the TransferModeless function, the modeless window does not mask the parent window, which allows the user to update the modeless and parent window from the same browser session at the same time.

Note:

While the title bar of a modeless window includes an X (or cancel) button, it cannot include any custom buttons.

Important:

Only one active child modeless window can be open at one time. Therefore, after opening a modeless child window from the parent, you cannot open a second modeless child window from that modeless window. However, you can open a modal window from that modeless window.