Thursday, Aug. 17, 2017

Invoke a Popup Applet on changing the Field Value

Written By:

|

September 18, 2012

|

Posted In:

Requirement:
Requirement is to invoke a pop up applet when a field value is changed in the UI i.e. when user tries to change the Priority field in the applet called “Activity List Applet With Navigation” and tabs out of the field, then immediately a popup applet should be displayed on the UI.

Solution:
Follow the below steps to implement this requirement.

1. In Siebel Tools, create your pop up applet based on class called “CSSSWEFramePopup” and Applet mode as “Edit”.
You can also reuse the vanilla applet called “Assignment Release MsgBox Popup Applet” to display the meaningful information.
2. Go to the Applet called “Activity List Applet With Navigation” and edit the browser script for the event called Applet_ChangeFieldValue Event. Add the below lines of code.

popup0

3. Compile the applets and generate browser scripts and you will see pop up applet as soon as user changes the priority and tabs out of this field.

 popup1

Notes:
You can also try and invoke pop up applet from the custom button press by creating a custom button and writing few lines of code in  browser script for the event called Applet_PreInvoke method as below:

 popup2

PopupButton – Create a new custom control in your applet and set the MethodInvoked Property to PopupButton with HTML type as MiniButton.Expose this button on the Applet and write the below lines of code to enable this button on the UI. popup3

 



Share This Article

About Author

Gurdeep

Hi, I am sharing my experience to alleviate beginners with open UI and HI version of Siebel CRM. I work in Sun Life Financials and can be reached via IT Tool box as well. Thanks.

  • Jerri

    You cannot CancelOperation in Applet_ChangeFieldValue, can you?