Skip to main content

Posts

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);     } }

How to invoke workflow through BC eScript, BC User Property and Runtime Events

Through eScript  BC InvokeMethod if (MethodName == "MyMethod") { var oBS=TheApplication().GetService("Workflow Process Manager"); var Inp=TheApplication().NewPropertySet(); var Out=TheApplication().NewPropertySet(); Inp.SetProperty("Object Id",TheApplication().ActiveBusObject().GetBusComp("My BC Name").GetFieldValue("My BC Field")); Inp.SetProperty("ProcessName","My Workflow"); oBS.InvokeMethod("RunProcess",Inp,Out); return (CancelOperation);   } On BC PreSetField if(FieldName == "My Field Name")    {     if(FieldValue == "My Field Value") { var Inp=TheApplication().NewPropertySet(); var Out=TheApplication().NewPropertySet(); Inp.SetProperty("Object Id",TheApplication().ActiveBusObject().GetBusComp("My BC Name").GetFieldValue("My BC Field")); Inp.SetProperty("ProcessName","My Workflow...

Siebel Go to View eScript

function GotoView() { var BO : BusObject = TheApplication().GetBusObject("Contact"); var BC : BusComp = BO.GetBusComp("Contact"); this.BusComp().ActivateField("Contact Id"); var sConId = this.BusComp().GetFieldValue("Contact Id"); with(BC) { SetViewMode(AllView); ClearToQuery(); ActivateField("Id"); SetSearchSpec("Id", sConId); ExecuteQuery(ForwardOnly); if (FirstRecord()) { TheApplication().GotoView("Contact Details View", BO); } } }

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

How to take Guest OS (Windows 7) Remote Desktop Connection RDP running in VirtualBox

I am running Windows 10 as host OS and installed Windows 7 as guest OS (Virtual OS) in Virtual Box. On internet I couldnt found any way to take Remote of guest OS which is running on Virtual Box so I start experimenting and found a way. Follow below steps: Open VirtualBox application. Select the guest OS and click on gear icon (settings). Click on Display and than Remote Display and click on Enable Server check box. Now select Network and click on Adapter 1 and then click on Enable Network Adapter with Attached to: NAT. Next click on Adapter 2 and then click on Enable Network Adapter with Attached to: Host-only Adapter and click OK. Now start the guest OS. Open cmd and type ipconfig and press Enter. You can see guest OS is connected to two networks. Copy the IPv4 Address starting with 192... Enable Remote Desktop Access on your Windows 7. Open Remote Desktop Connection in host OS and paste the IPv4 address in Computer field and ...

How to enable Remote Desktop Connection RDP on your Windows 7

Right click on My Computer and click on Properties. System window will appear, here click on Remote settings. System properties will appear here click on Allow Remote Assistance connections to this computer check box and then click on Allow connection (less secure) or Allow connections (more secure) as per your desire and c on OK button.

How to Install Guest Additions to Virtual OS in VirtualBox

Guest Additions includes device drivers and system applications that optimize performance of the machine. Start the guest OS in VirtualBox and click on Devices and then Install Guest Additions. It will mount the drive. Double click and start the setup. Click Yes and setup will be launched. Click Next and follow the installation procedure. After everything has completed a reboot is required.