This is nice trick that I came to know recently from Nidhi Puri a friend of mine working in siebel from past 2 years. Till now there were 2 ways known to me to enable a button on an applet in Siebel.

  • Scripting at PreCanInvoke event of Applet
  • Named Method n User property

But there is another way of enabling the button on applet apart from these two.

Just prefix EventMethod in front of the method name you have given and it will automatically enable the button example

If you create a button and give method name as CopyScript then change it to EventMethodCopyScript it will automatically enable the button. But you need to change the method name at BC level too. So at BC Level the scripting will change to

if(MethodName == “EventMethodCopyScript”)

Nice clean way to enable the button.

 Happy Siebel development :)

OkAvarageGoodVery GoodExcellent (4 votes, average: 4.5 out of 5)
Loading ... Loading ...

Related Posts