Skip to main content

Posts

Showing posts with the label Applet

How to open BIP report inside Siebel Applet

0: Overview Sometime as per the requirements you need to display 3rd party web page inside Siebel to achieve that there are two simple steps which are described here in details. 1: Prepare BIP Report URL In this post requirement is to show Oracle BI Publisher report inside Siebel Applet with report filters. 1.1. First Oracle BIP Developer will create report and share report link and important thing here is to ask BIP Developer to share the link without BIP Header page shown in below image. And link will look like this (Removed default filter details as they will auto set when report will open) : http://BIPServer:PORT/xmlpserver/FOLDER/REPORT_NAME.xdo?_xpf=&_xpt=0&_xdo=%FOLDER_PATH%2FREPORT_NAME.xdo&_xmode=2&_xt=REPORT_TITLE&_xf=pdf&_xana=view&_xautorun=false 1.2. Now simply divide this URL into input parameters so that we can configure this URL into Siebel Application. "&" is the key from where you can determine the parameter name and their val...

Applet Search Spec not working on Status field of S_EVT_ACT

Issue: Below applet search spec is not working. On UI all Approved records are also showing. [Primary Owner Id] = LoginId() AND [Status] <> LookupValue("EVENT_STATUS", "Approved")  Analysis: For Logs found that Siebel is not picking the correct Status column of S_EVT_ACT table. Actual column is S_EVT_ACT .EVT_STAT_CD for status field. Siebel is picking wrong column from wrong table: S_ACT_EMP .ACT_EVT_STAT_CD Query part from logs: T1.EMP_ID = :2 AND T33.ROW_ID = T1.ACTIVITY_ID AND T1.EMP_ID = T21.ROW_ID AND T33.TARGET_PER_ID = T29.ROW_ID (+) AND T33.TARGET_PER_ID = T7.PAR_ROW_ID (+) AND T33.PR_PRDINT_ID = T27.ROW_ID (+) AND T27.PRDINT_ID = T23.ROW_ID (+) AND T33.TARGET_OU_ADDR_ID = T19.ROW_ID (+) AND ( (T33.OWNER_PER_ID = :3 AND T1.ACT_EVT_STAT_CD NOT IN ( :4 ) ) AND (T33.X_ENTITY_TYPE = 'Research') AND (T33.CREATED >= TO_DATE(:6,'MM/DD/YYYY HH24:MI:SS'))) ORDER BY T33.CREATED DESC Work around: Create a calculated field in Business Componen...

How to add confirm message dialog on button click in Siebel Applet Browser Scripts

Background: On some action like button click it is recommended to add confirmation message as user might accidentally click the button and operations starts or change the value of field based on which some action happen like a trigger. Process: Add below script Applet Browser Script, compile and generate browser scripts and test. function Applet_PreInvokeMethod (name, inputPropSet) {    if(name == 'NewRecord')    {       if(confirm("Are you sure you want to create a new record??"))          return ("ContinueOperation");       else          return ("CancelOperation");     } return ("ContinueOperation"); }   Change the method name and message as per your need. Note: On every compilation you will need to regenerate the browsers scripts and place on web server path.

Next and Previous record button got disappear on photographs applet in Siebel

On : 8.2.2.4 SIA [23030] version, Configuration - General ACTUAL BEHAVIOR --------------- Next and Previous record buttons are missing on photographs applet when large image (i.e. 2000 X 1600) is used. EXPECTED BEHAVIOR ----------------------- The next and previous buttons should be visible. DETAILS ------------------- 1. What browser are you using, and what version of it? Does it happen on other browsers also (Chrome, Firefox, IE) >> Chrome, IE 2. Do you experience this on all Siebel clients (Dedicated and Web)? >> Both 3. What applet are you using? PUB Immigration Contact Photograph Form Applet. This is used to show images that are already uploaded via List Applet. PUB Immigration Contact Photograph List Applet. This is the applet which is used to upload image/photograph. >>Clones of above objects, first list applet than form applet to display the image. If I select the next image record from list applet, on form applet image is changing...

How to display Contact Photograph on Applet in Siebel

In Siebel Public Sector Application I have used below objects to display Customer's picture on Applet. Applets: PUB Immigration Contact Photograph Form Applet PUB Immigration Contact Photograph List Applet BC: PUB Contact Image Link: Contact/PUB Contact Image Primary BC: Contact Child BC: PUB Contact Image Source Filed: Id Destination Filed: Contact Id Primary ID Field: Primary Image Id Both applets are on PUB Contact Image. Add Business Component to Contact Business Object with Contact/PUB Contact Image link and add applets to view. Compile and Test. When you add Image in List applet it will display on Form Applet.

The specialized method '%1' is not supported on Business Component '%2' used by Business Object '%3'.(SBL-DAT-00322) in Siebel

Steps on which received Error: 1. Created new button with method name Validate. 2. Set the Applet user property CanInvokeMethod: Validate to TRUE 3. Called a workflow through applet eScript (on WebApplet_InvokeMethod) Error: When click on the button received below error: The specialized method '%1' is not supported on Business Component '%2' used by Business Object '%3'.(SBL-DAT-00322) Solution: Add CancelOperation for your method on Business Component eScript (on BusComp_PreInvokeMethod) if(MethodName == "Validate") { return (CancelOperation); }

How to add SearchSpec (query) on Applet Load Event through Applet Server Script in Siebel

If record is found every time when user navigate to Applet that record will be displayed. If record is not found Applet will be empty but user can use Query to found desired record. function WebApplet_Load () { var currBC = this.BusComp();     with (currBC)     {        SetViewMode(AllView);        ClearToQuery();        SetSearchSpec("SSN", "abc123xyz789");        ExecuteQuery(ForwardOnly);     } }

Profile Attributes is not working on Applet Browser Script in Siebel Server and Dedicated (Local) Client

Oracle disable SetProfileAttr() and GetProfileAttr() feature as a security fix in browser scripts, but you can enable this feature with Server Configuration parameter. For Server: Go to Administration - Server Configuration then Enterprises then Component Definitions  and query your Object Manager e.g. *Public Sector*ENU* Click on Menu button on Component Definition applet. and click on Start Reconfiguration and now query EditProfileAttr in Component Parameters Applet and set its value to TRUE Name of Parameter: EditProfileAttr Value : TRUE Now click on  Menu  button on  Component Definition  applet  and click on Commit   Reconfiguration . Either restart the Siebel Services or just restart the component on which you have made the changes. For Dedicated Client: For dedicated client add below parameter in CFG file under  InfraUIFramework section: EditProfileAttr = TRUE

HTML Icon Map Is Not Working In OpenUI (Doc ID 1619944.1)

APPLIES TO: Siebel CRM - Version 8.1.1.11 [IP2013] to 8.1.1.14.6 [IP2014] [Release V8] Information in this document applies to any platform. SYMPTOMS On : 8.1.1.11 SIA [23030] version, Configuration - General ACTUAL BEHAVIOR --------------- Image is not seen in chrome browser EXPECTED BEHAVIOR ----------------------- Image should be visible to the users STEPS ----------------------- The issue can be reproduced at will with the following steps: 1. Login into OpenUI application in Chrome browser. 2. Navigate to Advisors--> All Prospects 3. In the CalEmailImage field the value shows as Y CAUSE The following bugs have been logged for this issue: Bug 17248404: OPENUI: HTML ICON MAP NOT WORKING ON FORM APPLETS Bug 19766297: TRAFFIC LIGHT INDICATOR WAS NOT DISPLAYING IN OPEN UI IN FORM APPLETS Bug 20027928: TRAFFIC LIGHT INDICATOR WAS NOT DISPLAYING IN OPEN UI SOLUTION The following workaround will display the icon, but disable any associated drilldown: 1....

How to invoke Workflow through eScript in Siebel

Below is the Script for Calling Workflow: if (MethodName == "Method Name") { var oBS=TheApplication().GetService("Workflow Process Manager"); var Inp=TheApplication().NewPropertySet(); var Out=TheApplication().NewPropertySet(); Inp.SetProperty("Object Id",TheApplication().ActiveBusObject().GetBusComp("Business Component Name").GetFieldValue("Id")); Inp.SetProperty("ProcessName","Workflow Name"); oBS.InvokeMethod("RunProcess",Inp,Out); return (CancelOperation);   }

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