How to display URL in a modal popup window? Doc ID 1360705.1


APPLIES TO:

Siebel Tools - Version 8.1.1.1 SIA [21211] and later
Information in this document applies to any platform.

GOAL

How to display external web page in a modal popup window using symbolic URL?

SOLUTION

1. Create calculated field in Account buscomp:

name = TestSymbolicURL
calculated value = TestSymbolicURL


2. Create new form applet using the new object wizard with following properties:

name = Account Symbolic URL Popup Applet
buscomp = Account

web template = Analytics Applet
type = base

Select TestSymbolicURL field in the wizard to be included in the applet.

Deselect all button controls in the wizard.

The wizard will create control in the applet

Set the following control properties:

name = Test
field = TestSymbolicURL
field retrieval type = Symbolic URL
HTML display mode = EncodeData
HTML type = Text
field type = BC Field

Edit the class property of the created applet and set it to:

class = CSSSWEFramePopup

3. Create new button control on SIS Account Entry Applet with following properties:

name = Test
html type = MiniButton
method invoked = ShowPopup

create child control user properties...

Popup = Account Symbolic URL Popup Applet
Popup Dimension = 500x500

4. Recompile SRF

5. Run the SRF against the database

In the Sitemap > Administration - Integration > WI Symbolic URL List > Symbolic URL Administration screen create a Symbolic URL definition record with following properties:

name = TestSymbolicURL (or TestSymbolicURL_Demo if testing against Sample database)
url = http://www.yahoo.com
sso disposition = Inline

6. Restart the application to ensure changes to Symbolic URLs are effective.

With above configuration as demonstrated when clicking the button control on the SIS Account Entry Applet the ShowPopup mthod should display the Account Symbolic URL Popup Applet and the HTML code of the Symbolic URL TestSymbolicURL should be rendered inline of the applet. The popup applet should be modal and should be closed by clicking the X icon.

Source: Oracle