Making Siebel Interviews easy

How to invoke Smart Script on click of a button?

We can invoke Smart Script from a button using “RunCallScript” method of an Applet. For Example on Applet_PreInvokeMethod below given line of code will invoke Smart Script named “Test SS”

this.InvokeMethod ("RunCallScript", "TestSS","","ENU","USD");

RunCallScript Method accepts 4 arguments.

  1. Name: Name of the Smart Script to be invoked
  2. pathId: Row Id of the Smart Script
  3. Language: Language Code
  4. Currency: Currency Code

You can specify either Name or Row Id of the smart script. It is compulsory to mention at least one of them.

  • Sudheer

    Thanks for this Post