Configuring Siebel Business Applications > Configuring Applets > Customizing Pop-Up Applets and Windows >

Creating a Pop-Up Applet That Siebel CRM Opens from an Applet


A pop-up applet that Siebel CRM opens from an applet occurs if the user clicks a button on an applet that calls a pop-up window. This window allows the user to edit a set of values, browse through a list, and so forth.

To create a pop-up applet that Siebel CRM opens from an applet

  1. Display the control user prop object type, which is a child of the applet object type.

    For more information, see Displaying Object Types You Use to Configure Siebel CRM.

  2. Create the pop-up applet.
    1. In the Object Explorer, click Applet.
    2. In the Applets list, create a new applet.
    3. In the Object Explorer, click Control.
    4. In the Controls list, create two new controls using values from the following table.
      Name
      Method Called

      Cancel

      CloseApplet or UndoRecord.

      This value causes the pop-up applet to close if the user clicks Cancel.

      OK

      Call a method. For more information, see Calling a Method for an OK Control.

  3. In the Object Explorer, click Applet.
  4. In the Applets list, locate the applet from which the pop-up applet opens.
  5. In the Object Explorer, expand the Applet tree, and then click Control.
  6. In the Controls list, create a control with the Method Invoked property set to ShowPopup.
  7. In the Object Explorer, expand the Control tree, and then click Control User Prop.
  8. In the Control User Props list, create three new user properties using values from the following table.
    Name
    Value

    Popup

    Name of the pop-up applet that you created in Step 2.

    This applet must use a class that is derived from CSSSWEFramePopup.

    Mode

    (Optional) Mode of the applet, which is Base or Edit.

    If you do not define this value, then the default is Base.

    For more information, see Options to Control How the User Creates, Edits, Queries, and Deletes CRM Data.

    Popup Dimension

    (Optional). Dimension of the pop-up window. The format is Height X Width. For example, 500 X 800.

    If you do not define this value, then Siebel Tools sets the dimensions to the value that is defined in the HTML Popup Dimension property of the pop-up applet. If the HTML Popup Dimension is not defined, then Siebel Tools sets the pop-up window dimensions to 600 X 600.

  9. (Optional). Add a radio button control for any field that references a static list.

    For more information, see About Static Lists, and the topics about the radio button and radio button group in Siebel Business Process Framework: Task UI Guide.

  10. Compile and test your changes.

    For more information, see Using Siebel Tools.

Calling a Method for an OK Control

This topic describes how to call a method for an OK control.

To call a method for an OK control

  1. Create a method on a business service.
  2. Use code or some other mechanism to handle the method you defined in Step 1. Make sure this code does the following:
    • Executes the specialized behavior.
    • Calls the CloseApplet method to close the applet after the specialized behavior completes.
Configuring Siebel Business Applications Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices.