Bookshelf Home | Contents | Index | PDF |
Siebel Advisor API Reference > Siebel Advisor API Examples > Example of Creating a Custom Output TargetThe code in the following example defines a "button" output target. Clicking the HTML button defined by the output target launches a JavaScript alert window. The alert window contains a string that varies depending on the current configuration. function BuildSecretButtonTarget(winObj,name) // Register that this element must be refreshed when ISS.RegisterUIElement(name, winObj, true); var secretStr = ISS.GetResultsValue(name); if (secretStr == "") return ""; var retStr = '<INPUT TYPE="button" value="My Secret" onclick="alert(\''+secretStr+'\')">'; |
Siebel Advisor API Reference |