New Comment System@Siebel Unleashed.. Do Try and give me feedback | Next Tip »Home

How to enable button – various ways.

OkAvarageGoodVery GoodExcellent (3 votes, average: 4.33 out of 5)
Loading ... Loading ...

The most basic requirement in Siebel is adding a button on an applet and associating functionality to it. But when add a button in Siebel it is grayed out or in other words not enable by default you have to make it enable.

In this post I will write down the various ways that I know to enable a button.

While describing the steps I assume you have already added the button to applet by editing the web layout of that applet and the method name you have mentioned for that button is “MyMethod”

  • Scripting at Applet PreCanInvoke method.
  • This is the most basic and the oldest way to enable a button. Steps to perform

  1. Select the applet on which you have added the button
  2. Right Click – Choose Edit Server Script Menu Option
  3. In WebApplet_PreCanInvokeMethod add the following lines of code
    if (MethodName == “MyMethod”)
    {
        CanInvoke = “TRUE”;
        return (CancelOperation);
    }The button on Applet should get enabled.
  • Named Method Property
  • The second way to enable the button is using user property called Named Method n. Steps to enable the button.

  1. Go to the underlying BC of that Applet
  2. Choose Business Component User Property from object explorer
  3. Create a New Record and Enter the following information
  1. Name Field: Named Method 1
    (where the number will be one more than the last named method user property)
  2. Value Field: “MyMethod”, “INVOKE”, “Quote Item”, “MyMethod”
  • EventMethod
  • This is the latest and simplest of all methods to enable the button. You can read in detail in the following post about Event Method

  • Share/Bookmark

Related Posts


Article by neel

Authors bio is coming up shortly. neel tagged this post with: Read 387 articles by neel
  • Nisha
    Hello there,

    I hope you can help.
    i am logged onto siebel call center 8.0 and am in the Service Request screen tab. When I click on the Activities view tab under Service Request, the New button is greyed out. This is true to some machines and not for others. Have you seen this scenario before?

    thanks for your comments.
    Nisha
  • lewisj7
    Nisha,

    We are also experiencing the same issue with our system. Have you found a fix? If so, can you share it.

    Thanks,
  • Siddharth
    Neel,

    Suggest me a good book for Siebel Configuration.



    Thanks,
    Siddharth Kumar
  • neel
    that will be through scripting

    I have a post in the blog you can search for that
  • Newbie
    How to enable a button for particular user
  • neel
    The reason is that you haven't handled the event. you will need to write corresponding script on BC or Applet

    Read the following post for more details

    http://siebelunleashed.com/specialized-method-n...
  • siva
    Hi Neel This s Help full to me iam very happy for U'R Answ...but one thing here That button was Enabled When i am select that button it shown one message "The specialized 'Method invoked' is not supported on business component 'Account' used by Business object 'Account'(SBL-DAT-00322)" ple help to me
  • neel
    value is given in this way

    [Event Name],"INVOKE",[BC Name],[BC Method Name]
  • Ajay
    Can you explain the syntax of the value field in Named Method user property...
blog comments powered by Disqus

Polls

Do you like the new Comment System and new look to Site?

View Results

Loading ... Loading ...