Skip to main content

Posts

How to call Popup Applet through Browser Script in Siebel

There are different ways of invoking popup applet below scrip will be used in applet browser scripts. This script is using Siebel's vanilla method "ShowPopup". Please note that on parent applet vanilla method can be used only once. Either through Filed user proper or script. Below is the script for calling popup applet through applet browser script: if (name == "MethodName") { var inp = theApplication().NewPropertySet(); inp.SetProperty("SWEH", "200");        //Height of popup inp.SetProperty("SWEW", "800");      // Width of popup inp.SetProperty("SWETA", "ABC Popup Applet"); //inp.SetProperty("SWEM", "URL Applet"); this.InvokeMethod("ShowPopup", inp); return ("CancelOperation"); }   Change the applet name. Compile and generate browser scripts. Note: After every compilation you need to generate fresh browsers scripts and place on web server path.   See ...

How to call Popup Applet through Server Script in Siebel

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 (CancelOperati...

How to call Popup Applet through Workflow in Siebel

Background: With few different ways you can call/invoke popup applet in Siebel. Which are applet server/ browser script, Applet field user properties with vanilla method. Below is the detail of calling popup applet through Siebel workflow. Process: Add new Business Service step in Siebel Workflow, set its properties as below: Business Service Name: SLM Save List Service Business Service Method: LoadPopupApplet Set the values of Input Arguments as below: Input Argument: Applet Mode Type: Literal Value: 1 Input Argument: Applet Width Type: Literal Value: 800 Input Argument: Applet Height Type: Literal Value: 800 Input Argument: Applet Name Type: Literal Value: ABC Popup Applet Applet Modes: 1=Base, 2=New, 3=Edit, 5=Query, 6=EditList     See Also: How to call Popup Applet through Browser Script in Siebel How to call Popup Applet through Server Script in Siebel

How to call business service through Siebel server script

Below is the code for calling business service through script: if(MethodName == "YourMethod") { var sContactId = this.BusComp().GetFieldValue("Customer Number"); var svc = TheApplication().GetService("YourCustomBusinessService"); var inPuts = TheApplication().NewPropertySet(); var outPuts = TheApplication().NewPropertySet(); inPuts.SetProperty("Contact Id", sContactId); svc.InvokeMethod("BusinessServiceMethod", inPuts, outPuts); return (CancelOperation); }

How to retrieve application profile attributes in Siebel session

1. Open Siebel Client, go to site map. 2. search: Administration - Personalization, open Test 3. enter your login and password and click on load. All profile attributes will show in Primary User Attributes Applet This will give you a list of all system profile attributes that get, set upon logging in to the Siebel Application. These profile attributes are available throughout the application. You can create and set your own profile attributes as well.