Share

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.siebel applet 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’

siebel applet3

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)

siebel applet4

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’

siebel applet5

This is done to make Delete Record option available in Menu Item List.

 

9. Compile the Applet.

siebel applet6

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

siebel applet7

15 comments on “How To Create/ Enable/ Disable A Button On Applet Header In Siebel”

  1. Andrey Borzov Reply

    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.

  2. Swati Pawar Swati Pawar Reply

    Thanks Andrey,
    Yes, String Reference is always a better option. “String Override” has been used here for simplicity and for beginners.

    Regards,
    Swati Pawar

  3. Kritika Gangwar Reply

    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.

  4. Shiv Prateek Reply

    hi , kritika which siebel version are u using as i am pretty much sure this user property is a part of siebel 8

  5. Arun Rajput Reply

    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.

  6. raju Reply

    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 ….

  7. anitha Reply

    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

  8. srinu Reply

    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

  9. Basha Reply

    Very Good Swathi, Keep on posting like this, it will very helpfull to someone, who are learning siebel and aswell working 🙂

  10. Srinu Reply

    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

  11. srinu Reply

    Hi anitha,
    I have some scripting documents but how to send.Give me ur mail id so that i can send it to u.

  12. Immigration Advicers Honslow Reply

    Hello! Someone in my Facebook group shared this website with us so I came to take a look.
    I’m definitely loving the information. I’m book-marking and will be tweeting this to my followers!
    Wonderful blog and wonderful design and style.

Leave A Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!