| Next Tip »?

Archive for the ‘eScript’ Category

Using ShowModalDialog

By neel + July 14th, 2008

Write the below given code in browser script for an applet . This below given code will display Abort, Retry and Ignore prompt on click of a button.
In this example I had created a button on an applet and the name of the method it invokes upon click is EventMethodAddress. This code has been provided [...]

Different kind of Dialog box in Siebel.

By neel + July 14th, 2008

This is going to be 3 part series and I am going to post one part each day.
By default very few types of prompts are available in Siebel with which we can interact with user. Most commonly used method are:
RaiseErrorText: Which is used to display information to user but when we use it the processing [...]

Divya a reader and member of Siebel Unleashed forum asked me a question about a common code snippet that we use in our scripting. The code snippet is as following

var oEmpBusObj = TheApplication().ActiveBusObject();
var oEmpBusComp = oEmpBusObj ().GetBusComp(”Employee”);
var sLoginName;
oEmpBusComp.ActivateField(”Login Name”);
oEmpBusComp.ClearToQuery();
oEmpBusComp.SetSearchSpec(”Login Name”, sLoginName);
oEmpBusComp.ExecuteQuery();
oEmpBusComp = null;
oEmpBusObj = null;

and the Question she asked is
Is it necessary that we have [...]

File SaveAs Dialog box in Siebel

By neel + July 3rd, 2008

This article has been submitted by Ranjith. He is a Siebel certified consultant working on Siebel EAI.
Requirement:
Saving an exported file to the client machine running Internet explorer, allowing the user to choose the location. This called for a FileSaveAs dialog box popping up. After a lot of searching on the net, I found it could [...]

Validating an Email Address in Siebel

By neel + June 24th, 2008

I read this requirement somewhere few days ago. The solutions given for these were quite lengthy and inefficient. For example

Using string.indexOf  to check for presence of @ and dot(.)
Loop for all the characters and verify if @ an dot sign is present or not.

I thought that there must be a better way to do it. I [...]



Comment Count BadgeGet your Badge!

Get Updates

Enter your email address:

Delivered by FeedBurner