Conditionally enable button on same list applet based on different views
Applet called “Activity List Applet with Navigation” had a custom button called “Edit” which invokes a custom functionality. This applet exists in 5 different views under Activities Screen. The requirement is to allow the user to invoke this custom functionality only on one view called as “All Activity List View“. Moreover solution has to be scriptless with minimal configuration.
Follow the below steps to implement this requirement:
1. In Siebel Tools, go to Business Component called as Action and create a new calculated field as below:
CalView is based on getting a profile attribute called “ActiveViewName” to ensure that Y is returned when a particular view is loaded on UI.
2. Go to the Applet called as “Activity List Applet With Navigation” and create a new User property as below:
For more information on CanInvokeMethod User property, please visit
3. The custom button “Edit” created in Activity List Applet with Navigation is as below:
Button has been exposed on the UI.
4. Compile the BC and the applet and launch the client to see the configuration changes.
*Edit button is enabled for one view as below:
**Edit button is disabled for other views as below:
***Edit button is disabled for other views as below: