Background:
Based on the requirements you need to show data or reports on a popup applet. You can invoke popup applet using workflow (below business service will be used in business service step), applet server script or browser script and using vanilla method and setting field user properties.
Procedure:
Below is the script for calling popup applet through server script:
if (MethodName == "MethodName")
{
var oServiceAF = TheApplication().GetService("SLM Save List Service");
var inputPropAF = TheApplication().NewPropertySet();
var outputPropAF = TheApplication().NewPropertySet();
inputPropAF.SetProperty("Applet Name","ABC Popup Applet");
inputPropAF.SetProperty("Applet Mode","6");
inputPropAF.SetProperty("Applet Height", "700");
inputPropAF.SetProperty("Applet Width", "700");
oServiceAF.InvokeMethod("LoadPopupApplet", inputPropAF, outputPropAF)
return (CancelOperation);
}
Applet Modes: 1=Base, 2=New, 3=Edit, 5=Query, 6=EditList
if (MethodName == "MethodName")
{
var oServiceAF = TheApplication().GetService("SLM Save List Service");
var inputPropAF = TheApplication().NewPropertySet();
var outputPropAF = TheApplication().NewPropertySet();
inputPropAF.SetProperty("Applet Name","ABC Popup Applet");
inputPropAF.SetProperty("Applet Mode","6");
inputPropAF.SetProperty("Applet Height", "700");
inputPropAF.SetProperty("Applet Width", "700");
oServiceAF.InvokeMethod("LoadPopupApplet", inputPropAF, outputPropAF)
return (CancelOperation);
}
Applet Modes: 1=Base, 2=New, 3=Edit, 5=Query, 6=EditList
Only change you will made is popup applet name and mode of the applet. Rest will be the same.
See Also:
How to call Popup Applet through Workflow in Siebel
Comments
Post a Comment