Skip to main content

Posts

Showing posts from August, 2019

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.

How to get Email profile parameters (like password) from Siebel DB using sql query

1. Open MS SQL Management Studio copy paste below query in query window. SELECT Prof.NAME AS 'Profile Name' ,ParNam.NAME AS 'Parameter Name' ,Par.VALUE AS 'Parameter Value' FROM S_CM_PROF Prof LEFT JOIN S_CM_PROF_PARM Par ON Par.CM_PROF_ID = Prof.ROW_ID LEFT JOIN S_CM_CNCTR_PARM ParNam ON ParNam.ROW_ID = Par.CM_CNCTR_PARM_ID WHERE 1=1 AND Prof.NAME = 'Email  Profile Name' 2. Go to site map in Siebel Client search for Communication Drivers and Profile, copy the name of desired Email profile and add it in above query. Run the query and you will have all parameters and their values of that profile.

Difference Between SMTP and POP3

To send and receive a mail two agents, message transfer agent and a message access agent are required. The message transfer agent transfers the message from client computer to the recipient’s mail server. Now, it’s the work of message access agent to pull the message from the mailbox present on the mail server at recipient’s side to the recipient’s computer. We have one message transfer agent i.e. SMTP (Simple Mail Transfer Agent), and we have two message access agents  POP (Post Office Protocol) and IMAP (Internet Mail Access Protocol). What is POP3? Post Office Protocol version 3 (POP3) is a standard mail protocol used to receive emails from a remote server to a local email client. POP3 allows you to download email messages on your local computer and read them even when you are offline. It is message access agent. It allows to retrieve and organize mails from mailbox on receiver mail server to receiver's computer. What is SMTP? Simple Mail Transfer Protocol (SMTP) is the s...