Configuring Siebel Open UI > Configuring Siebel Open UI to Interact with Other Applications > Displaying Data from Siebel Open UI in External Applications >

Displaying Siebel CRM Applets and Views in External Applications


This topic describes how to display a Siebel CRM applet or view in an external application, such as Oracle WebCenter, iGoogle, and so on.

To display Siebel CRM applets and views in external applications

  1. Prepare the applet.

    For more information, see Preparing Standalone Applets.

  2. Determine where to add the Siebel URL in the external application.

    To display a Siebel CRM applet or view in an external application, you add an iFrame that includes the Siebel URL. You add this iFrame to the external application. For example, you can add the following iFRame to the main Web page of the external application:

    <HTML>
      <BODY>
        <IFRAME src = "Siebel URL"> </IFRAME>
        <IFRAME src = "http://www.example.com"> </IFRAME>
      </BODY>
    </HTML>

    This example uses an iFrame to expose the following portlets:

    • One portlet runs the Siebel application.
    • One portlet specifies the Oracle public website.
  3. Add the following Siebel URL to the external application that you identified in Step 2:

    http://server_name/virtual_folder/start.swe?SWECmd=ExecuteLogin&SWEUserName=user_name&SWEPassword=my_password&SWEAC=SWECmd=GetApplet&SWEApplet=applet_name&IsPortlet=1&SWESM=applet_mode

    where:

    • user_name specifies the user name that identifies the person who uses the Siebel CRM client.
    • my_password specifies the password.
    • applet_name specifies the name of the applet that Siebel CRM must display in the external application.
    • applet_mode specifies the mode that Siebel Open UI uses to display the applet. You can use one of the following values:
      • Edit+List
      • Edit
      • Base
      • New
      • Query

        For more information about these modes, see Displaying Applets Differently According to the Applet Mode.

        For example, the following URL configures Siebel Open UI to log in to the Siebel application as the TEST user, and then to display the Contact List Applet in Edit mode:

    <HTML>
      <BODY>
        <IFRAME src = "http://server_name.example.com/callcenter_enu/start.swe?SWECmd=ExecuteLogin&SWEUserName=TEST&SWEPassword=my_password&SWEAC=SWECmd=GetApplet&SWEApplet=Contact+List+Applet&IsPortlet=1&SWESM=Edit"> </IFRAME>
        <IFRAME src = "http://www.example.com"> </IFRAME>
      </BODY>
    </HTML>

    You must write each argument so that it complies with URL standards. For example:

    • If the applet name includes spaces, then you must replace each space with the plus (+) symbol.
    • If the display mode includes a space, then you must replace each space with the plus (+) symbol. For example, Edit+List.

      If you do not include the user_name and my_password, then Siebel Open UI displays the login page. If the user logs in successfully, then Siebel Open UI displays the applet.

      For other ways to configure the URL, see Alternatives to Configuring the URL.

      The work you must do to add a URL to an external application varies depending on each application. For an example, see Using iFrame Gadgets to Display Siebel CRM Applets in External Applications.

Alternatives to Configuring the URL

Table 17 describes alternative URL configurations.

Table 17. Alternatives to Configuring the URL
URL
Description

http://server_name/virtual_folder/start.swe?SWECmd=ExecuteLogin&SWEUserName=user_name&SWEPassword=my_password&SWEAC=SWECmd=GotoView&SWEView=view_name

This URL displays a view.

http://server_name/virtual_folder/start.swe?SWECmd=ExecuteLogin&SWEUserName=user_name&SWEPassword=my_password&SWEAC=SWECmd=GotoView&SWEView=view_name&SWEApplet=applet_name

This URL displays a predefined applet.

http://server_name/virtual_folder/start.swe?SWECmd=ExecuteLogin&SWEUserName=user_name&SWEPassword=my_password&SWEAC=SWECmd=GetApplet&SWEApplet=applet_name

This URL displays a standalone applet. For more information, see Preparing Standalone Applets.

Alternative to Using SweCmd=ExecuteLogin

You can use SweCmd=GetApplet or SweCmd=GotoView as an alternative to using SweCmd=ExecuteLogin. For example:

http://server_name.example.com/callcenter_enu/start.swe?SweCmd=GetApplet&SWEApplet=Contact+List+Applet&IsPortlet=1&SWESM=Edit

This alternative does not use the SWEAC argument. It configures Siebel Open UI to display the login page and then the applet. Note the following:

  • GotoView can display an entire view or only an applet. It does not require Siebel Open UI to prepare the applet separately.
  • GetApplet displays only an applet.
Configuring Siebel Open UI Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.