Below is the script for calling popup applet through 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
Comments
Post a Comment