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 of further statements stops. So, generally we use it only when we have to display validation error in which case user cannot proceed further before he rectifies the error.
Alert: One more method which is used in browser scripts to display information and this is actually just to display information and it doesn’t affect the processing of script or transaction in anyway. So, it is generally used to display information messages like “Please remember to do this after this”.
Confirm: This displays an OK or Cancel dialog box which affects the transaction depending on user choice. An example of this is a dialog box that you see when you try to delete a record.
Above mentioned are dialog boxes available OOB in Siebel and you can just use them whenever you want to but what is lesser known fact is that you can have customized dialog boxes such as
- YES and NO prompt
- YES, NO and cancel prompt
- Abort, Retry and Ignore prompt
But you need some tweaking before you can use it. To make it work you need a Siebel vanilla htm file containing Javascript to display these prompts.
Download the Siebel Vanilla htm file and place it in your web client\public\enu folder.
In next part I am going to show you Browser script code to use this file and display customized prompts.
Next in series >>
(1 votes, average: 4 out of 5)
4 Comments at "Different kind of Dialog box in Siebel."
hi neel
is that temp.html file we need to download and place in the directory
yes.. I have provided the link in post.
Hi Neel,
I am unable to download the file I think link is not properly defined
The link is properly defined.. instead of clicking on link
right click and select save as target
Comment Now!