How To Create/ Enable/ Disable A Button On Applet Header In Siebel
Every Button created have a specific functionality associated with it, a task that is performed just on a click. We can create and place a button either on the applet header or we can provide the same functionality option in Menu Items.
1. Search Applet Name where a Button needs to be added.
2. Query the Applet name in Tools (For Example ‘SIS Account List Applet’).
3. Click on Control under same Applet.
4. Create New Record in Control with following detail.’
a. Name – ‘DeleteRecord’
b. Caption-String Override – ‘Delete’
c. HTML Type- ‘MiniButton’
d. Method Invoked –‘DeleteRecord’

5. Navigate in ‘Applet User Prop’ under selected Applet (‘SIS Account List Applet)
6. Create new record here with following detail
a. Name – ‘CanInvokeMethod: DeleteRecord’
b. Value – ‘TRUE’ (Value ‘TRUE’ is for Enable the button and ‘FALSE’ for Disable the button)

This will display the button on the Applet Header.
7. Navigate to ‘Applet Method Menu Item’ under selected applet
8. Create new record with following detail
a. Command – ‘Delete Record’
b. Menu Text –String Override – ‘Delete’

This is done to make Delete Record option available in Menu Item List.
9. Compile the Applet.

10. The Button on the applet will be displayed in application and will be active.

Related posts:
- Configuring Show More Button
- How to Invoke Business service on a click of a button?
- Keyboard Accelerators
- How to Create Toggle Applet
- Named Method Property
- How To Enable Contract-Based Pricing in Siebel (8.1.1)

















(No Ratings Yet)
Good post Swati!
The only thing which doesn’t look nice is use of “String Override”. I understand that here it’s done like this for simplicity, but I think it would be worth to mention here that Symbolic Strings should be used instead of Override. It can save weeks if you will need to rename your controls or implement other languages.
Andrey.
Excellent job
Thanks Andrey,
Yes, String Reference is always a better option. “String Override” has been used here for simplicity and for beginners.
Regards,
Swati Pawar
Hi Swati ,
I am trying the same thing on customize button but its not working on customize button… I have created my own button and in method name i have given a method…Then in applet user property i have define as u have said.But its not working…help me out in this.
hi , kritika which siebel version are u using as i am pretty much sure this user property is a part of siebel 8
Hi Shiv. This property is also available in Siebel 7.8
HI, swati nice to see your professional growth.
tc
aishwarya
Hi Swati,
I compiled the applet by following the same procedure ,it is working . But in "Applet User Properties" if I select "FALSE" in value field, it is not working . The "delete" button is still enabled.
Whenever I select "TRUE" or "FALSE" in the Value field , it shows following error message..
There is no validation�available for this expression; thus, validity cannot be determined at design time. Please verify the expression by compiling the change into the srf file and testing in the runtime client.(SBL-DEV-62310)
and after clicking on "OK" of this error message the value is selected in Value field.
Thanks for ur explanation abt the applet creation that too with proper screen shots…. And am currently learning SIEBEL 8.1 version… Can u send the Notes and meterial to learn ….
Hi this is very comfortable, but i need the answer for Arun
Rajput. He said he got an errror mesage when he is running , i too got the same message. is there any prb with this and why it is coming. can any one provide some material on scripting. i m new to siebel
Hi ,
I too tried the same thing but i didt get any error..
Go through the below information..
Name CanInvokeMethod: MethodName
Value Value or expression that returns TRUE or FALSE or the literal values TRUE or FALSE
Usage This user property is used to enable and disable methods declaratively. When the
value is TRUE or the expression returns TRUE, then the method is enabled,
otherwise it is disabled.
For example, Copy Record on the Partner Product List Applet is disabled by
default:
■ Name: CanInvokeMethod: CopyRecord
■ Value: FALSE
Consider also the following example of using an expression for the value on the
SIS Account List Applet where you want to enable the copy record feature for
accounts that have a status, but disable this feature for all other accounts:
■ Name: CanInvokeMethod: CopyRecord
■ Value: [Account Status] IS NOT NULL
You can inactivate or modify the value for this user property. You can also create
new instances of this user property as needed.
Parent Object
Type
Applet
Functional Area CSSFrame, CSSFrameList, and their subclasses
Very Good Swathi, Keep on posting like this, it will very helpfull to someone, who are learning siebel and aswell working
HI Basha,
I have one requirement that is
Service Request(Parent) and Activity(Child).Check for Service Request which status is closed then navigate to child BC activity and change the All activity status to closed..
Please Let me now any one of u is this posible or not..
Thanks,Srinivas
Hi anitha,
I have some scripting documents but how to send.Give me ur mail id so that i can send it to u.
Leave your response!
Our Stats
hit counter
Author Spotlight
Swati Pawar
Website: http://www.siebeloracle.com/Join us in Facebook !!!!
Donate
If you find this blog useful to you, please consider making a small donation to help contribute to further development. Thanks for your kind support!
Hosted By
SIEBEL BOOKSHELF
Advertise With Us
Place your advertisement anywhere in the website.
[Nominal Rates/Genuine readers]
For details reach us at contact@siebeloracle.com
Training Partner
Advertisement
Advertisement
Recent Comments
Most Commented
Most Viewed
Log in | Entries (RSS) | Comments (RSS) | © Copyrights Siebel Expert Panel 2007-2011
Disclaimer: All information is offered in good faith and in the hope that it may be of use, but is not guaranteed to be correct, up to date or suitable for any particular purpose. Siebel Experts accepts no liability in respect of this information or its use. Siebel Experts is an India based website which is governed by Indian law. By using this website you are agreeing to abide by Indian law. This site is independent of and does not represent Oracle Corporation in any way. Oracle does not officially sponsor, approve, or endorse this site or its content.Product and company names mentioned in this website may be the trademarks of their respective owners.