Thursday, Oct. 19, 2017

Conditionally disable buttons and Double Click in a Shuttle Applet

Written By:

|

December 29, 2012

|

Posted In:

Requirement:
The requirement is to disable buttons called “Add All >>” , “<< Remove All”  and the double-click in a shuttle applet from Shuttle applet for a particular user called “SADMIN”.

Solution:
Follow the below steps to implement this requirement:
A shuttle applet is a combination of a MVG applet and an association applet. The 2 buttons,  “Add All >>” , “<< Remove All”, are part of the MVG applet.
1. In Siebel Tools, query the MVG applet say, called “Account Address Mvg Applet”.
Get the MethodInvoked property behind these buttons which are “AddAllRecords”, “DeleteAllRecords”.
Go to the Server side script of this applet and write the below lines of code as shown below:

Disable double click1

2. When you double-click in the left part of the shuttle applet to add a record, it is the association applet that is involved and the method invoked is “AddRecord”.

Get the Association applet behind this MVG applet which is “Address Assoc Applet”.

Go to the Server side script of this applet and write the below lines of code as shown below:

Disable double click2

3. Finally compile both the applets and launch the client. You will see that the buttons have been disabled for SADMIN user only and Double click on the left part of Association applet does not add records to the MVG applet.

Disable double click3



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.

Comments are closed.

Leave A Reply