Archive for the 'eScript' Category...
Filed under How To, Tips&Tricks, eScript, All, Configuration
There are many ways to invoke an Internet Explorer on a button click in Siebel. I will post two ways of doing it in two different posts.
Requirement: When a custom button is clicked it should invoke Internet Explorer and navigate to a given URL.
(more…)
Comments (9) Posted by Sridhar on Monday, November 10th, 2008
Filed under How To, Tips&Tricks, eScript, All, Configuration
Handling Date and Time functions is very puzzling in eScript. Lot of developers mess around with the code to reach the result.
In this post I will explain the simplest way to find the time difference between two different times in Seconds using Siebel eScript.
(more…)
Filed under Tips&Tricks, eScript, All
During many circumstances especially while using web services, we traverse through the property sets to check for different things and take appropriate action. One of those checks could be to check the expected property exists. PropertyExists method in Siebel eScript ensures that the specified property exists in a property set. This is a very useful method. The check is similar to using an if statement after ExecuteQuery() to make sure that it returns at least one record. This PropertyExists method is be used with if statements. This post can also fall under one of the best practices while writing eScript.
(more…)
Comments (1) Posted by Sridhar on Tuesday, September 16th, 2008
Filed under How To, Tips&Tricks, eScript, All, Configuration
While I was working on eScript I came across the method GetMVGBusComp which is one of Best Practices in eScripting and I thought of posting it here. Details about this method below.
Tip 11:Use GetMVGBusComp Method to get the MVG records
As the method name suggests it gets the Business Component of the record that MVG is based on. This is a very helpful Method that would save a several lines of unnecessary code.
(more…)
Comments (1) Posted by Sridhar on Monday, September 15th, 2008
Filed under How To, Tips&Tricks, eScript, All, Configuration
In this post I will explain what a property set is, how it looks and how to build a property set using eScript.
Property set is a set of data containing Type, Property and Value. It is stored in a form of XML. For example, when you write a business service a script under Service_PreInvokeMethod and Inputs to this is a property set and it could something like this. (more…)
Comments (9) Posted by Sridhar on Friday, September 12th, 2008
Filed under How To, Tips&Tricks, eScript, All, Configuration
This is a very common requirement that Siebel Developer stumble upon. The requirement is to make the field read only based on the view so that the people who are assigned to this view using responsibilities are given read or write access.
Example Requirement: Make the field “Status” readonly for the view “Opportunity List Admin View” but all other views should have this field non-readonly. (more…)
Filed under Tips&Tricks, eScript, All
This post is a contribution from Deepak S Kumar a regular visitor of SiebelGuide.com Many thank to him for contributing and sharing his knowledge. I am posting this article as it is. You can also download this article in a word document using this link. I would also request other visitors to participate. (more…)
Filed under Tips&Tricks, eScript, All
I am back with more tips on best practices on Siebel scripting. I will try to continue this series as find more tips. For now I have three more tips for you. Let me know if this helps. (more…)
Filed under Tips&Tricks, eScript, All
There are several other ways to optimize Siebel scripting but it is also very important to write the code in a way as to reduce the maintenance efforts, help future reference and for best understanding. So in this blog post about Siebel eScripting best practices I will mention tips to address these essential skills needed. (more…)
Filed under Tips&Tricks, eScript
While I was working on one of my Siebel requirements I realized that my script would become very accurate and less confusing to business if I could script based on Server Name. So I had to access the Server Name using eScript. I thought about this for sometime and after 10 minutes I suddenly realized that it is easy. (more…)