<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-8531650369937741306</atom:id><lastBuildDate>Sun, 01 Sep 2024 21:57:56 +0000</lastBuildDate><category>Siebel EAI</category><category>Product Configurator</category><category>Siebel Tips</category><category>Siebel eScript</category><category>Miscellaneous</category><category>Best Practices</category><category>Basics</category><category>Siebel Configuration</category><category>Screencasts/Videos</category><category>Siebel Presentations</category><category>Siebel Server Admin</category><category>Siebel 8 Presentations</category><category>Siebel Errors</category><category>Tom Siebel</category><category>Where is IT going?</category><title>Exploring Siebel</title><description></description><link>http://exploringsiebel.blogspot.com/</link><managingEditor>noreply@blogger.com (Unknown)</managingEditor><generator>Blogger</generator><openSearch:totalResults>36</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8531650369937741306.post-221275584965637148</guid><pubDate>Sat, 20 Nov 2010 05:52:00 +0000</pubDate><atom:updated>2010-11-20T11:36:30.820-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Siebel EAI</category><title>Fetching value of Oracle Sequence from External DB</title><description>Fetching value of external Oracle Sequence in Siebel is one of the typical business requirement in integration of Siebel applications. In case of windows environment solution is quite straight forward, we just need to create ADODB object in script and execute sql on external database. &lt;br /&gt;
&lt;br /&gt;
But in case of Unix environment this is not possible as ADODB is not supported in Unix.&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
For this requirement we can use External Business Component or &quot;EBC&quot; to fetch the next value of an external sequence.&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
1. Create external table in Siebel database using the External Table Schema Import Wizard.&lt;br /&gt;
2. Create additional column in table and set Alias property of the column with concatenation of external column name and the external oracle sequence like:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbycu_2yDJVVS6nEx-4WNRjN1zLrF0aKy3_gLbUrYdH6QP9Mq0BvrNnZ1trmzu_6Rg4MuL2yruuFbtq_mJ2TPDoVv2uslFEVOjeDsgmL3Trbn-Kk21Q058xeFXB5btQqtnDjyknJkrpKY/s1600/EBC.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;86&quot; ox=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbycu_2yDJVVS6nEx-4WNRjN1zLrF0aKy3_gLbUrYdH6QP9Mq0BvrNnZ1trmzu_6Rg4MuL2yruuFbtq_mJ2TPDoVv2uslFEVOjeDsgmL3Trbn-Kk21Q058xeFXB5btQqtnDjyknJkrpKY/s400/EBC.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Siebel will use this Alias property of the columns to build SQL for external tables. So when building SQL in this case it will concatenate the column value with the nextvalue of the specified sequence.&lt;br /&gt;
&lt;br /&gt;
After this, compile all the changes and query on BC based on this table and process the field value to fetch next value of the sequence of external database.</description><link>http://exploringsiebel.blogspot.com/2010/11/fetching-value-of-oracle-sequence-from.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbycu_2yDJVVS6nEx-4WNRjN1zLrF0aKy3_gLbUrYdH6QP9Mq0BvrNnZ1trmzu_6Rg4MuL2yruuFbtq_mJ2TPDoVv2uslFEVOjeDsgmL3Trbn-Kk21Q058xeFXB5btQqtnDjyknJkrpKY/s72-c/EBC.JPG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8531650369937741306.post-4406171967241218038</guid><pubDate>Tue, 31 Aug 2010 09:10:00 +0000</pubDate><atom:updated>2013-08-28T05:18:54.113-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Siebel eScript</category><category domain="http://www.blogger.com/atom/ns#">Siebel Tips</category><title>Sending email from eScript</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Sending email updates from Siebel is quite easy, we just have to call Outbound Communication Manager, an OOB Business Service to trigger emails. &lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVVS5GEQadrB-PZ7rdh1lJE4g-FGszS7Q8UNiGQvbYxAjZzjL-oiUYU6M-BDSqyc3R2TxO8zr429bClAq85wlr-1PGlcbRD0kYKMxzDXmNViUiF1cxWEn1KvRIW_WqaeYRhUCyr2-xElI/s1600/email.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVVS5GEQadrB-PZ7rdh1lJE4g-FGszS7Q8UNiGQvbYxAjZzjL-oiUYU6M-BDSqyc3R2TxO8zr429bClAq85wlr-1PGlcbRD0kYKMxzDXmNViUiF1cxWEn1KvRIW_WqaeYRhUCyr2-xElI/s1600/email.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can call this service from any of the events available or just call this service from a Workflow.&lt;br /&gt;
Found this simple code on IT-toolbox :&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;js&quot; name=&quot;code&quot;&gt;var mailBS = TheApplication().GetService(&quot;Outbound Communications Manager&quot;); 
var psInput = TheApplication().NewPropertySet(); 
var psOutput = TheApplication().NewPropertySet(); 

psInput.SetProperty(&quot;CommProfile&quot;, &quot;Communication profile name&quot;); 
psInput.SetProperty(&quot;MsgToList&quot;, &quot;email ids to whom you want to send email&quot;); 
psInput.SetProperty(&quot;MsgBody&quot;, &quot;email content&quot;); 
psInput.SetProperty(&quot;MsgSubject&quot;, &quot;subject&quot;); 
mailBS.InvokeMethod(&quot;SendMessage&quot;, psInput, psOutput); 
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
Coming up Next: Steps to configure Communication Profile.&lt;/div&gt;
</description><link>http://exploringsiebel.blogspot.com/2010/08/sending-email-from-escript.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVVS5GEQadrB-PZ7rdh1lJE4g-FGszS7Q8UNiGQvbYxAjZzjL-oiUYU6M-BDSqyc3R2TxO8zr429bClAq85wlr-1PGlcbRD0kYKMxzDXmNViUiF1cxWEn1KvRIW_WqaeYRhUCyr2-xElI/s72-c/email.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8531650369937741306.post-4931636295334610352</guid><pubDate>Fri, 27 Aug 2010 18:06:00 +0000</pubDate><atom:updated>2010-08-27T11:14:43.891-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Product Configurator</category><category domain="http://www.blogger.com/atom/ns#">Siebel eScript</category><title>Get Attribute Value - Product Configurator</title><description>There is no method out of the box available in Siebel Product Configurator that can be used to get attribute value. For this one of my team member have written this code which traverses the product structure and return the attribute value as string.&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
I am sharing the code here, it helped us in solving lots of complex business requirements.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;js&quot; name=&quot;code&quot;&gt;function GetAttr (AttribName)
{
  var ps = TheApplication().NewPropertySet();
  var ps2 = TheApplication().NewPropertySet();

  GetCPInstance(ps);
  ps2 = ps.GetChild(0).GetChild(0).GetChild(0).GetChild(0).GetChild(0).GetChild(0);

  var count = ps2.GetChildCount();
  for(var i = 0; i&amp;lt; count; i++)
  {
             var curr_node = ps2.GetChild(i);
             var name = curr_node.GetProperty(&quot;Name&quot;);
             if (name == AttribName)
             {     var value = curr_node.GetProperty(&quot;Value&quot;);
                   ps=null;
                   ps2=null;
                   curr_node = null;
                   return(value); 
             }
   }

}
&lt;/pre&gt;&lt;br /&gt;
Note: This code will return the attribute value of root product only, for other child products code needs to be modified accordingly.</description><link>http://exploringsiebel.blogspot.com/2010/08/get-attribute-value-product.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8531650369937741306.post-7706473605353738423</guid><pubDate>Tue, 10 Aug 2010 16:53:00 +0000</pubDate><atom:updated>2010-08-10T09:57:54.930-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Siebel Tips</category><title>Automatic login to Siebel thin client</title><description>While in development, I used to get bugged up by entering credentials every time application needs to be accessed. Out of&amp;nbsp;frustration&amp;nbsp;I have found way to bookmark the credentials in IE favorites so that it directly takes the user to application home screen.&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Step 1&lt;/b&gt;: Add application URL to IE favorites&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 2&lt;/b&gt;:&amp;nbsp;Edit&amp;nbsp;the target URL&amp;nbsp;from :&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfnGCV1W2juhjYQVexdlz5bZ3YJUsq1l6yA8WsZLp7OnYBCf2Vcq7JUU19oFR2rqhMjOqiQx9dUNCv7Qc1YfmWZLmVlIjjWk8A6aBU61HjGqbbQvUcfelQr0F9LT0mhDFD5yD6LLbrHb0/s1600/favorites.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfnGCV1W2juhjYQVexdlz5bZ3YJUsq1l6yA8WsZLp7OnYBCf2Vcq7JUU19oFR2rqhMjOqiQx9dUNCv7Qc1YfmWZLmVlIjjWk8A6aBU61HjGqbbQvUcfelQr0F9LT0mhDFD5yD6LLbrHb0/s200/favorites.bmp&quot; width=&quot;145&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
http://&lt;b&gt;[host name]&lt;/b&gt;/fins_enu/start.swe?SWECmd=Start&amp;amp;SWEHo=&lt;b&gt;[hostname]&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
to :&lt;br /&gt;
&lt;br /&gt;
http://&lt;b&gt;[host name]&lt;/b&gt;/fins_enu/start.swe?SWECmd=ExecuteLogin&amp;amp;SWEUserName=&lt;b&gt;[username]&lt;/b&gt;&lt;strong&gt;&lt;user name=&quot;&quot;&gt;&lt;/user&gt;&lt;/strong&gt;&amp;amp;SWEPassword=&lt;b&gt;[password]&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Step 3&lt;/b&gt;: Save URL.&lt;br /&gt;
&lt;br /&gt;
Now this bookmark will directly take you to the home screen of the application,without showing the login screen..</description><link>http://exploringsiebel.blogspot.com/2010/08/automatic-login-to-siebel-thin-client.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfnGCV1W2juhjYQVexdlz5bZ3YJUsq1l6yA8WsZLp7OnYBCf2Vcq7JUU19oFR2rqhMjOqiQx9dUNCv7Qc1YfmWZLmVlIjjWk8A6aBU61HjGqbbQvUcfelQr0F9LT0mhDFD5yD6LLbrHb0/s72-c/favorites.bmp" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8531650369937741306.post-4243052517458105787</guid><pubDate>Tue, 10 Aug 2010 10:40:00 +0000</pubDate><atom:updated>2010-08-10T03:40:36.040-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Siebel EAI</category><category domain="http://www.blogger.com/atom/ns#">Siebel Tips</category><title>Generate Random Number (Cont..)</title><description>In continuation of my earlier &lt;a href=&quot;http://exploringsiebel.blogspot.com/2009/09/how-to-generate-random-number-in-siebel.html&quot;&gt;post&lt;/a&gt; , I am sharing another way of generating random number in siebel using&amp;nbsp; vanilla SIS OM PC Service.&lt;br /&gt;
&lt;br /&gt;
SIS OM PC Service is a vanilla service which provides a method to get new system generated row id as output.&lt;br /&gt;
The output can be utilised to generate random number by calling&amp;nbsp;RowIdToRowIdNum() in expression.&lt;br /&gt;
&lt;br /&gt;
Workflow:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMnkgQ3FYq6FpWmI70mHfo5zWhfAsQflRT_OfKRP1yJ-vxyAPo8uDp28nLhI8ejejziDklnbq9HgG4Y7cHW1XN1A2QUgRF47d3uajqYg5HYT8h5hRgiK375SkUu0X1B8ZUSeoyFSgvxo8/s1600/Random+Number.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMnkgQ3FYq6FpWmI70mHfo5zWhfAsQflRT_OfKRP1yJ-vxyAPo8uDp28nLhI8ejejziDklnbq9HgG4Y7cHW1XN1A2QUgRF47d3uajqYg5HYT8h5hRgiK375SkUu0X1B8ZUSeoyFSgvxo8/s320/Random+Number.bmp&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
Step 1 : Service :&lt;b&gt;SIS OM PC Service&lt;/b&gt; Method:&amp;nbsp;&lt;b&gt;Get Next RowId&lt;/b&gt;&lt;br /&gt;
Output: &lt;strong&gt;Next Row Id&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Step 2: Service: &lt;strong&gt;Workflow Utilities&lt;/strong&gt;&lt;br /&gt;
Output : Random Num [Type Expression] : &lt;b&gt;RowIdToRowIdNum&lt;/b&gt;([&amp;amp;Next Row Id])&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks to &lt;a href=&quot;http://exploringsiebel.blogspot.com/2009/09/how-to-generate-random-number-in-siebel.html&quot;&gt;Sebestian&lt;/a&gt; for sharing this.</description><link>http://exploringsiebel.blogspot.com/2010/08/generate-random-number-cont.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMnkgQ3FYq6FpWmI70mHfo5zWhfAsQflRT_OfKRP1yJ-vxyAPo8uDp28nLhI8ejejziDklnbq9HgG4Y7cHW1XN1A2QUgRF47d3uajqYg5HYT8h5hRgiK375SkUu0X1B8ZUSeoyFSgvxo8/s72-c/Random+Number.bmp" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8531650369937741306.post-7208461355925028038</guid><pubDate>Mon, 02 Nov 2009 16:20:00 +0000</pubDate><atom:updated>2010-05-08T12:08:27.146-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Product Configurator</category><category domain="http://www.blogger.com/atom/ns#">Siebel eScript</category><title>Debugging Siebel eScript - Write Property Set to file</title><description>This is one of the tricks that i use to debug Siebel scripts. It is really useful if you are working on the product configurator. As most of the events in configurator have property set as argument to it, and there is no debug window to see runtime property values for the events.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;For configurator i use&amp;nbsp;&lt;span style=&quot;font-weight: bold;&quot;&gt;WritePropSet &lt;/span&gt;method of&amp;nbsp;&lt;span style=&quot;font-weight: bold;&quot;&gt;EAI XML Write to File&lt;/span&gt; business service. This method prints out the property set to a file on the siebel server. here is the code for the configurator:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;js&quot; name=&quot;code&quot;&gt;var ps = TheApplication().NewPropertySet();
var ps1 = TheApplication().NewPropertySet();
GetCPInstance(ps);
var bs = TheApplication().GetService(&quot;EAI XML Write to File&quot;);
var op = TheApplication().NewPropertySet();

ps.SetProperty(&quot;FileName&quot; , &quot;C:\\temp.xml&quot;);
bs.InvokeMethod(&quot;WritePropSet&quot;, ps, op);
&lt;/pre&gt;similarly for business services and workflows we can have following snippet:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;js&quot; name=&quot;code&quot;&gt;function Service_PreInvokeMethod (MethodName, Inputs, Outputs)
{
var ps = Inputs.Copy();
var bs = TheApplication().GetService(&quot;EAI XML Write to File&quot;);
var op = TheApplication().NewPropertySet();
ps.SetProperty(&quot;FileName&quot; , &quot;C:\\temp.xml&quot;);
bs.InvokeMethod(&quot;WritePropSet&quot;, ps, op);
return (ContinueOperation);
}
&lt;/pre&gt;&lt;br /&gt;
Above code can be use as code sniffer. Provided you use some naming sequence of the file.</description><link>http://exploringsiebel.blogspot.com/2009/11/debugging-siebel-escript-write-property.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8531650369937741306.post-5782871058625573970</guid><pubDate>Fri, 30 Oct 2009 18:58:00 +0000</pubDate><atom:updated>2009-11-02T08:03:55.186-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Siebel Server Admin</category><category domain="http://www.blogger.com/atom/ns#">Siebel Tips</category><title>How to see the SADMIN / SIEBEL password un-encrypted!</title><description>Today i have seen a very strange data in Siebel database that actually shouldn&#39;t be there just as a un-encrypted free text. I think people from Siebel Admin would know that which table i am talking about. &lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
Usually all user details in Siebel database are kept in S_USER table and passwords are never stored in Siebel Database. Whenever there is a need to store the password either the value is masked or is stored in database after encryption. &lt;br /&gt;
&lt;br /&gt;
Even in siebns.dat file the password is not stored. All the name subsystems in server manager and on UI use masking to show password. But at one place, as I know the password is kept as clear string. This happens on the Server Manager Job Parameter table i.e. &lt;b&gt;S_SRM_REQ_PARAM&lt;/b&gt; table. &lt;br /&gt;
&lt;br /&gt;
I don’t know what was the reason the data on this table was kept unencrypted. If you want to get the password you just need to query the VALUE column of the parameter table and you will find the password in next row where SADMIN or SIEBEL user name is stored.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;select VALUE from SIEBEL.S_SRM_REQ_PARAM&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
This happens because to run certain jobs like Generate Triggers database user and password are required as arguments but due to some limitation of the jobs this data is not encrypted. So if your server administrator use SADMIN as the password for generate trigger command you can see the SADMIN password by querying the database.&lt;br /&gt;
&lt;br /&gt;
Gud luck :)</description><link>http://exploringsiebel.blogspot.com/2009/10/how-to-see-sadmin-siebel-password-un.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8531650369937741306.post-613344100643622445</guid><pubDate>Tue, 27 Oct 2009 19:05:00 +0000</pubDate><atom:updated>2009-10-28T13:21:07.922-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Siebel EAI</category><title>In-process reentrance is NOT supported for JMS, MSMQ and MQ Series transports</title><description>Process re-entrance refers to calling of same method of the business service again before the first call has not been completed.&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Some of the code in Siebel is written to work on shared pool of resources, thus if same code is called again the shared pool either release the lock that is made by the first call or the second call creates deadlock between them.&lt;br /&gt;
&lt;br /&gt;
This behavior is very much prominent when a receiver component executes workflow on receiving xml message from queue, and this workflow process again executes Receive method of the same business service. This doesn&#39;t halts the execution but it start listening to queue for which last Receive method was called. &lt;br /&gt;
&lt;br /&gt;
So if second call passes arguments to receive message from different queue then receiver component will also start listening to this new queue. I was completely unaware of this behavior until one of the JMS receiver component stopped listening to messages from one queue, but started listening on the other. It was also clearly visible in the log of the component.&lt;br /&gt;
&lt;br /&gt;
Oracle support web &lt;a href=&quot;https://support.oracle.com/CSP/main/article?cmd=show&amp;amp;type=NOT&amp;amp;id=845247.1&quot;&gt;article &lt;/a&gt;confirms this behviour.</description><link>http://exploringsiebel.blogspot.com/2009/10/in-process-reentrance-is-not-supported.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8531650369937741306.post-4313753238267625450</guid><pubDate>Mon, 26 Oct 2009 19:03:00 +0000</pubDate><atom:updated>2009-10-28T13:22:11.001-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Siebel Server Admin</category><category domain="http://www.blogger.com/atom/ns#">Siebel Tips</category><title>How to change default location of logs on Siebel Server !</title><description>Location of Siebel Server logs is set while installation of the server. And most of the time Administrator keeps it to the default location i.e.. sea77\siebsrvr\logs directory.  But sometimes the installation location of siebel server is kept on very small and faster disk drives to improve performance, thus there is no or very less space is left on the drive for the extended log levels.&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Specially for the EAI log files that can grow as fast as 1 gb per hour or more, it becomes very difficult to manage the log files, and debug the issue. And there is no direct way to changing this log directory path either.&lt;br /&gt;
&lt;br /&gt;
There is only one hidden parameter &lt;span style=&quot;font-weight: bold;&quot;&gt;logdir&lt;/span&gt; for every server is&amp;nbsp;available&amp;nbsp;that can contains the location of log directory, but this parameter not visible on the UI and nor on Advance object lists. The only way to change this parameter is through server manager command prompt.&lt;br /&gt;
&lt;br /&gt;
Excerpt from support web:&lt;br /&gt;
&lt;br /&gt;
Problem Description: The Siebel Server Log Directory parameter - LogDir is not visible anywhere.&lt;br /&gt;
Resolution:&lt;br /&gt;
Currently, the Server Log Dir can be set by using the following srvrmgr command:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;srvrmgr&amp;gt; change param logdir=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 13px;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&amp;lt; new path &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;for server &amp;lt; server name &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
However, the parameter &quot;LOGDir&quot; cannot be seen anywhere. After setting the param, the new server logs starts going into a new location, but there is no way to see this parameter in the Admin screen or through the server mgr. This happens despite having &quot;ShowAdvancedObjects&quot; parameter set to TRUE</description><link>http://exploringsiebel.blogspot.com/2009/10/changing-log-directory-of-siebel-server.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8531650369937741306.post-2449224423973210913</guid><pubDate>Thu, 15 Oct 2009 10:40:00 +0000</pubDate><atom:updated>2013-08-28T04:55:33.985-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Siebel eScript</category><category domain="http://www.blogger.com/atom/ns#">Siebel Tips</category><title>Date functions in Siebel eScript</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
If you have worked on any date field then you would be knowing that some of the standard date functions are not available in Siebel escript, like converting date from one format to another, adding number of business days to a particular date, comparing two dates etc., &lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_gNvzXvrmI6JzBKJ0db3-_QhtaVJvbYBzk33dvd5JwiyN5XeIIYM3QQWQYBu7ju9snAxua0Cz3mlTvMgspWrhiXblCxQsVvbloN9KBb2-nIPdEECpxV033JbmZrd7fc3oj1Kw27qeuKU/s1600/caledar.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_gNvzXvrmI6JzBKJ0db3-_QhtaVJvbYBzk33dvd5JwiyN5XeIIYM3QQWQYBu7ju9snAxua0Cz3mlTvMgspWrhiXblCxQsVvbloN9KBb2-nIPdEECpxV033JbmZrd7fc3oj1Kw27qeuKU/s1600/caledar.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Here are some methods built in eScript that perform these operations.&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
1. AddDays &lt;br /&gt;
This function serves the purpose of DateAdd function available in other languages. Basically, when we need to add x days to a date, we can use this function.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;js&quot; name=&quot;code&quot;&gt;function AddDays(myDate,days) 
{
/* Adds the number of Days specified in the input parameter ‘days’ 
 *  to the input parameter mydate and returns the new date
 * @param myDate,days
 * @return new Date
*
 */

    return new Date(myDate.getTime() + days*24*60*60*1000);
}
&lt;/pre&gt;
&lt;br /&gt;
2. SubtractDays&lt;br /&gt;
&lt;br /&gt;
This function helps in finding a backdated date.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;js&quot; name=&quot;code&quot;&gt;function SubtractDays(myDate,days)
{
/**
 * Will subtract ‘days’ number of 
 * days from the input date and return the new date
 * @param myDate,days 
 * @return date 
 * @modified 
 */
 return new Date(myDate.getTime() - days*24*60*60*1000);
}
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
3. IsFutureDate&lt;br /&gt;
This function is used to find if any date is greater than today. &lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;js&quot; name=&quot;code&quot;&gt;function IsFutureDate(mydate)
{
/*
 *  Function to check if a date is greater than today
 *  Returns 0 if Current Date is larger
 *  1 if Passed Variable is larger
*/

var istoday = new Date();   
var myM = ToInteger(mydate.getMonth()+1);
var myD = ToInteger(mydate.getDate());
var myY = ToInteger(mydate.getFullYear());
var toM = ToInteger(istoday.getMonth()+1);
var toD = ToInteger(istoday.getDate());
var toY = ToInteger(istoday.getFullYear()); 
if ((myY &amp;lt; toY)||((myY==toY)&amp;amp;&amp;amp;(myM &amp;lt; toM))||((myY==toY)&amp;amp;&amp;amp;(myM==toM)&amp;amp;&amp;amp;(myD &amp;lt; = toD)))
 { 
  return(0);
 }
else 
{ 
  return(1);
}
}

&lt;/pre&gt;
4. CompareDates  This function is used to compare two dates and to find if one date is greater than or lesser than the other date.  &lt;br /&gt;
&lt;pre class=&quot;js&quot; name=&quot;code&quot;&gt;function CompareDates(dte_from,dte_to)
{
/* Function to compare two dates.. will return 1 if dte_from is greater than dte_to else will return 0 */

var myM = ToInteger(dte_from.getMonth()+1);
var myD = ToInteger(dte_from.getDate());
var myY = ToInteger(dte_from.getFullYear());
var toM = ToInteger(dte_to.getMonth()+1);
var toD = ToInteger(dte_to.getDate());
var toY = ToInteger(dte_to.getFullYear()); 
if ((myY &amp;lt; toY)||((myY==toY)&amp;amp;&amp;amp;(myM &amp;lt; toM))||((myY==toY)&amp;amp;&amp;amp;(myM==toM)&amp;amp;&amp;amp;(myD &amp;lt; = toD)))
 { 
  return(0);
 }
else 
{ 
  return(1);
}
}
&lt;/pre&gt;
&lt;/div&gt;
</description><link>http://exploringsiebel.blogspot.com/2009/10/date-functions-in-siebel-escript.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_gNvzXvrmI6JzBKJ0db3-_QhtaVJvbYBzk33dvd5JwiyN5XeIIYM3QQWQYBu7ju9snAxua0Cz3mlTvMgspWrhiXblCxQsVvbloN9KBb2-nIPdEECpxV033JbmZrd7fc3oj1Kw27qeuKU/s72-c/caledar.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8531650369937741306.post-3523109246538722944</guid><pubDate>Wed, 14 Oct 2009 18:38:00 +0000</pubDate><atom:updated>2009-10-28T13:23:07.058-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Siebel eScript</category><category domain="http://www.blogger.com/atom/ns#">Siebel Tips</category><title>Case Insensitive Query in Siebel by using LIKE operator !</title><description>I think most of the readers would know how to perform an case&amp;nbsp;insensitive&amp;nbsp;search/query in Siebel. Those who don&#39;t read on!&lt;br /&gt;
&lt;br /&gt;
Case&amp;nbsp;insensitive query in Siebel means to query the database records using the LIKE operator in SQL. This type of SQL tends to be slow as they return more records than the equal (=) operator.  &lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Case&amp;nbsp;insensitive&amp;nbsp;query&amp;nbsp;can only be controlled by editing the Application level parameter &lt;span style=&quot;font-weight: bold;&quot;&gt;DSCaseInsensitiveFlg &lt;/span&gt;in the Data source named subsystem. For thick clients it can be done setting &lt;span style=&quot;font-weight: bold;&quot;&gt;CaseInsensitive &lt;/span&gt;parameter in cfg file.&lt;br /&gt;
&lt;br /&gt;
But this is rarely&amp;nbsp;activated as it&amp;nbsp;severely&amp;nbsp;hampers the application performance. &lt;br /&gt;
&lt;br /&gt;
Now what if this parameter is set and we need to execute an&amp;nbsp;insensitive&amp;nbsp;query on BC using script? &lt;br /&gt;
&lt;br /&gt;
For this we can use tilda operator and LIKE operator in the search expresion of the query ~ LIKE . Like operator along with tilda &lt;span style=&quot;font-style: italic;&quot;&gt;forces case&amp;nbsp;insensitive query on the bc field even if the application level&amp;nbsp;sensitivity&amp;nbsp;is turned off!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This can also verfied by quering on the UI using this operator:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0KSFPLBUTrCQ7FWIEG2Wvysh-dTMpNpcDqwB6aoKbwNXpoJzqYhyaicXetm8uSNDTp3XsPTkDzIbpwXlblmVoVuYW1wMcnagJfETEHKYzrAzpzzj53BMQgtxznEwgCbg4ghHh28FO4cA/s1600-h/1.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0KSFPLBUTrCQ7FWIEG2Wvysh-dTMpNpcDqwB6aoKbwNXpoJzqYhyaicXetm8uSNDTp3XsPTkDzIbpwXlblmVoVuYW1wMcnagJfETEHKYzrAzpzzj53BMQgtxznEwgCbg4ghHh28FO4cA/s320/1.JPG&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6_VDu6Tm1Xj7OnwdDBBXhmkdsNvVMvDJpqPlgIIU7YGL_VGIXxIscZnxxruj7hb54iLeXekg5cejm1l_ih29vfth5ty-fQBD14oloqsq8-trk1PMGxvErZjej5DfLncALFd3u8GgKYCE/s1600-h/2.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6_VDu6Tm1Xj7OnwdDBBXhmkdsNvVMvDJpqPlgIIU7YGL_VGIXxIscZnxxruj7hb54iLeXekg5cejm1l_ih29vfth5ty-fQBD14oloqsq8-trk1PMGxvErZjej5DfLncALFd3u8GgKYCE/s320/2.JPG&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><link>http://exploringsiebel.blogspot.com/2009/10/case-insensitive-query-in-siebel-by.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0KSFPLBUTrCQ7FWIEG2Wvysh-dTMpNpcDqwB6aoKbwNXpoJzqYhyaicXetm8uSNDTp3XsPTkDzIbpwXlblmVoVuYW1wMcnagJfETEHKYzrAzpzzj53BMQgtxznEwgCbg4ghHh28FO4cA/s72-c/1.JPG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8531650369937741306.post-7571483640583176158</guid><pubDate>Wed, 07 Oct 2009 20:29:00 +0000</pubDate><atom:updated>2009-10-28T13:24:07.560-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Basics</category><category domain="http://www.blogger.com/atom/ns#">Miscellaneous</category><category domain="http://www.blogger.com/atom/ns#">Siebel EAI</category><category domain="http://www.blogger.com/atom/ns#">Siebel Tips</category><title>Get Workflow Instance Id from the process property value!</title><description>Workflow Instance monitor is one of the best out of the box&amp;nbsp;debugging&amp;nbsp;techniques available in&amp;nbsp;Siebel. But this also lacks in some aspects. &lt;br /&gt;
&lt;br /&gt;
As most of developer would know that there is no way in instance monitor view to identify the workflow instance for&amp;nbsp;specific&amp;nbsp;object id or process property value. &lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
We usually have to rely on the time and keep switching between the tabs to find the correct instance. And this becomes really cumbersome in production or acceptance environment, or when workflow executes very frequently.&lt;br /&gt;
&lt;br /&gt;
Same problem we were facing, until we wrote this small sql. This sql queries the instance&amp;nbsp;monitor&amp;nbsp;table that stores all the workflow steps and returns the &lt;span style=&quot;font-weight: bold;&quot;&gt;W&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;orkflow Instance Id&#39;s&amp;nbsp;&lt;/span&gt;where ever it finds the field value in the input property set.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;sql&quot; name=&quot;code&quot;&gt;select EXEC_INST_VAL from siebel.S_WFA_INST_LOG 
where row_id in( 
select distinct INST_LOG_ID from siebel.S_WFA_INSTP_LOG where row_id in(
select step_log_id from siebel.S_WFA_STPRP_LOG where PROP_VAL =&#39;PROPVALUE&#39;))
&lt;/pre&gt;&lt;br /&gt;
You can&amp;nbsp;substitute&amp;nbsp;any process property value in place of &lt;span style=&quot;font-weight: bold;&quot;&gt;PROPVALUE&lt;/span&gt; in above sql, and it will return all the workflow instance id where the property was found.&lt;br /&gt;
&lt;br /&gt;
njoy!</description><link>http://exploringsiebel.blogspot.com/2009/10/get-workflow-instance-id-from-process.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8531650369937741306.post-9021871290261269366</guid><pubDate>Tue, 06 Oct 2009 20:53:00 +0000</pubDate><atom:updated>2009-10-30T12:04:41.957-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Best Practices</category><category domain="http://www.blogger.com/atom/ns#">Siebel EAI</category><category domain="http://www.blogger.com/atom/ns#">Siebel Tips</category><title>Alternate use of List Of Values</title><description>&lt;div&gt;&lt;/div&gt;&lt;div&gt;Most common use of list of values comes in implementation&amp;nbsp;of multilingual siebel applications. But its global&amp;nbsp;presence&amp;nbsp;all over the applications objects makes them extremely useful for writing switches in codes/workflows. I saw one&amp;nbsp;great&amp;nbsp;use in creating the stubs for the real time interfaces in Siebel EAI.&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
It usually happens in development phase of the application is that the external interfaces are not ready to test while siebel processes needs some&amp;nbsp;inputs&amp;nbsp;to test rest of the application. In such cases building&amp;nbsp;separate&amp;nbsp;dummy workflow&amp;nbsp;temporarily doesn&#39;t look like a&amp;nbsp;good solution.&lt;br /&gt;
&lt;br /&gt;
Instead of creating&amp;nbsp;separate&amp;nbsp;workflow, we added another branch to the workflow along with the decision step which used to read XML message from the file instead of the interface.&lt;br /&gt;
&lt;br /&gt;
This&amp;nbsp;decision&amp;nbsp;was taken depending upon the value of the &lt;span style=&quot;font-weight: bold;&quot;&gt;STUB_LOV&lt;/span&gt;, if it is set to Y then XML from the file was read otherwise the real interface was called.&lt;br /&gt;
&lt;br /&gt;
So whenever the interface was down or we need specific data only we just used to set this LOV to get the XML from file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There can be lots more uses of LOV like this in Siebel, please feel free to share anything that comes up in your mind.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</description><link>http://exploringsiebel.blogspot.com/2009/10/alternate-use-of-list-of-values.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8531650369937741306.post-6694647594279821800</guid><pubDate>Sat, 05 Sep 2009 19:01:00 +0000</pubDate><atom:updated>2009-10-28T13:26:08.210-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Siebel eScript</category><title>How to generate random number in Siebel eScript?</title><description>Recently I had a requirement to generate &lt;strong&gt;non-repetitive random numbers &lt;/strong&gt;in siebel escript. I searched the siebel tools help and found Clib.rand() function to the rescue. And using it was also very simple.&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;pre class=&quot;js&quot; name=&quot;code&quot;&gt;var temp = Clib.rand();
TheApplication().RaiseErrorText(temp);&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
But this function do not guarantee the non-repetitive output. Instead of building any complex algorithm, to get non-repetitive random number i used &lt;strong&gt;Date object &lt;/strong&gt;and &lt;strong&gt;getTime &lt;/strong&gt;method. As time is allways incrementing and it never looks back :) i used this as my random number.&lt;br /&gt;
&lt;br /&gt;
This method returns the date-time, in milliseconds, of the Date object.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;js&quot; name=&quot;code&quot;&gt;var aDate = new Date().getTime();
TheApplication().RaiseErrorText(aDate);
&lt;/pre&gt;&lt;br /&gt;
Try it out it never fails.&lt;br /&gt;
One point to note here is that if requirement is to get series of random number in loop, then you have to add some delay of about a millisec so that system time is updated. njoy!!</description><link>http://exploringsiebel.blogspot.com/2009/09/how-to-generate-random-number-in-siebel.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8531650369937741306.post-8632926447273260875</guid><pubDate>Sat, 22 Aug 2009 15:33:00 +0000</pubDate><atom:updated>2009-08-31T10:25:58.792-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Siebel Configuration</category><category domain="http://www.blogger.com/atom/ns#">Siebel eScript</category><title>Accessing Field in Siebel Browser Script</title><description>Accessing a field in browser script can a bit pain, for someone who is new to the browser scripting. There is no direct way to access the field in browser scripts that are not shown on the applet at run time.&lt;br /&gt;&lt;br /&gt;This is because the browser script works on the DOM elements not the Siebel Objects. Siebel to support its syntax, publishes some of the objects and methods in the browser script.&lt;br /&gt;&lt;br /&gt;There is a workaround to access field in the browser script:&lt;br /&gt;&lt;strong&gt;1. Add a control in the applet with the required field.&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;2. Set the HTML Type of control to Hidden.&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;3. Add this control on the list applet as column or on the header (where buttons are placed) of the form applet.&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;4. Create usual script to GetFieldValue. Now you will be able to get the value inside the script.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There are also lots of restriction in the browser script as compared to Server Script, some of them being:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;strong&gt;TheApplication() in eScript is converted to theApplication() in JavaScript.&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;We can not use theApplication().GetBusObject(), can only use theApplication().ActiveBusObject();&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Cannot Get and Set Field values that are not shown on the UI.&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Cannot use InvokeMethod(&quot;LookupValue&quot;) (this creates lots of troubles in developing multilingual prompts.)&lt;/strong&gt;&lt;/li&gt;&lt;/ul&gt;</description><link>http://exploringsiebel.blogspot.com/2009/08/accessing-field-in-siebel-browser.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8531650369937741306.post-1516502574857486982</guid><pubDate>Sat, 22 Aug 2009 07:46:00 +0000</pubDate><atom:updated>2009-08-22T13:16:17.828-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Basics</category><category domain="http://www.blogger.com/atom/ns#">Siebel EAI</category><title>Siebel Message Property Set</title><description>The Next buzz word that we hear in Siebel EAI is Siebel Message or IO Hierarchy. It appears to be very similar to XML hierarchy, but it is not!&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Siebel Message or IO Hierarchy is an instance of an Integration Object in form of property set. It is mostly used in EAI workflows, but it can also be very useful in scripting and business processes.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;FONT-WEIGHT: bold&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;FONT-WEIGHT: bold&quot;&gt;What is Integration Object? : &lt;/span&gt;It is an structure that defines the Siebel Data that is needed to be integrated with Other applications. &lt;/div&gt;&lt;br /&gt;&lt;div&gt;An IO defines Business Object whose data will be integrated, BC whose fields will be updated, and the fields that will be used.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;FONT-WEIGHT: bold&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;FONT-WEIGHT: bold&quot;&gt;What is Integration Object Instance? : &lt;/span&gt;&lt;/div&gt;&lt;div&gt;When an Integration Object is used to query siebel database it results in an property set that contains the data in the structure represented in the Integration Object.&lt;/div&gt;&lt;div&gt;This output property set is called &lt;span class=&quot;Apple-style-span&quot; style=&quot;FONT-WEIGHT: bold&quot;&gt;Siebel Message.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;FONT-WEIGHT: bold&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;FONT-WEIGHT: bold&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;FONT-WEIGHT: bold&quot;&gt;How Siebel Message is different from a Property Set?&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Siebel Message is actually a property set whose type is set to &quot;&lt;strong&gt;SiebelMessage&lt;/strong&gt;&quot;.Most common method to create a Siebel Message is by calling &lt;strong&gt;Query &lt;/strong&gt;Method of &lt;strong&gt;EAI Siebel Adapter Service&lt;/strong&gt;.&lt;/div&gt;&lt;div&gt;This service creates the properties with Name specified in the Integration Components Fields. &lt;/div&gt;&lt;br /&gt;&lt;p&gt;On the other hand &lt;strong&gt;XML Hierarchy &lt;/strong&gt;contains property name from the Integration Component XML Tag.&lt;/p&gt;</description><link>http://exploringsiebel.blogspot.com/2009/08/siebel-message-property-set.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8531650369937741306.post-2713601507055791160</guid><pubDate>Fri, 21 Aug 2009 16:14:00 +0000</pubDate><atom:updated>2009-08-21T10:36:51.290-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Basics</category><category domain="http://www.blogger.com/atom/ns#">Siebel EAI</category><title>Mapping between Siebel Property Set and XML</title><description>I think first problem that we face in EAI is understanding the mapping between the &lt;strong&gt;Siebel Property Set&lt;/strong&gt; and the &lt;strong&gt;XML&lt;/strong&gt;. But once this mapping is clear Siebel EAI becomes lot more easier module to work on.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;XML as we all know is the structured data trasfer language, and property set is set of variables contain values in form of string name value pairs. There are lots of vanilla services available in siebel tools that converts the property set in to an XML or write the property set to a file.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Let see how the property set is converted into an XML.&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;A Property set contains four parts which we can get and set by eScript methods. &lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU-TdAjXMqgsMTkrlNk5aqSJ9xQAm0K5U7phWEAVobJEN0CTLMsZ8eKjd87LEW7yl2jjNyjQLqc9Uo5KcotLidsiL0fx-QJafE_lSrXYXT24vzSdY4h_os-lqm4jG2xlp7FXeEMr0k_4o/s400/1.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5372467431015064114&quot; style=&quot;DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 96px; TEXT-ALIGN: center&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU-TdAjXMqgsMTkrlNk5aqSJ9xQAm0K5U7phWEAVobJEN0CTLMsZ8eKjd87LEW7yl2jjNyjQLqc9Uo5KcotLidsiL0fx-QJafE_lSrXYXT24vzSdY4h_os-lqm4jG2xlp7FXeEMr0k_4o/s400/1.JPG&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; &lt;div align=&quot;justify&quot;&gt;Note : A property set can contain child elements , which can themselves be a Property Set, and can have Type , Property and a Value.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Similarly an XML contains:&lt;br /&gt;&lt;br /&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5372455141523227106&quot; style=&quot;DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 110px; TEXT-ALIGN: center&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf5cyjfWpS2hLbVvetoDrMlUiJvUMOCxVsm31hX8L2SNoxUmgiyvTdcMkS_TZcvd8S3pWvxWq6nvRQ3hHxGcvZHlUmgffN_FlAwFSOSc-KSkgyIX3bern0MU4q7NX0SLRTF1qyMj8I4Zs/s400/xml.JPG&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;br /&gt;Siebel converts&lt;br /&gt;&lt;strong&gt;Type&lt;/strong&gt; of property set to XML &lt;strong&gt;Element&lt;/strong&gt; ,&lt;br /&gt;&lt;strong&gt;Properties&lt;/strong&gt; are added as &lt;strong&gt;Attrbutes, &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Value &lt;/strong&gt;is kept as &lt;strong&gt;Value of the Element &lt;/strong&gt;&lt;br /&gt;and child properties are added as child elements in XML.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This can be demonstrated by following code:&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHrdIWiKD-Fj9abYQuSrmdazOSP5-9FRQ3eBjqX8kN0-1cOFyqVphmbQQOe6VFGyA2atxyJr2D8_BUNeL2213XCwBZk3nLtAPkTG_Z_DdVWS0u2a3fTjswa-kcijnF0xJvC6Dw85XgYeQ/s1600-h/coed.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5372467633992253378&quot; style=&quot;DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 218px; TEXT-ALIGN: center&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHrdIWiKD-Fj9abYQuSrmdazOSP5-9FRQ3eBjqX8kN0-1cOFyqVphmbQQOe6VFGyA2atxyJr2D8_BUNeL2213XCwBZk3nLtAPkTG_Z_DdVWS0u2a3fTjswa-kcijnF0xJvC6Dw85XgYeQ/s400/coed.JPG&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;It will produce an XML output like this:&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7nW6MoWRKdmkN2uyqupkytzmoVKWsl-Ed72UZqeslagIs263ZjL0wVGKErrnzKJJLVhOSua5VAyrNNyDRpU5jB3WkyS9ld3eRLihxW-M_HZ-lHLSKTl97FHgFZZWKOsyP4ZPSr6_hIuk/s1600-h/untitled.JPG&quot;&gt;&lt;br /&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5372467915856834130&quot; style=&quot;DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 79px; TEXT-ALIGN: center&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7nW6MoWRKdmkN2uyqupkytzmoVKWsl-Ed72UZqeslagIs263ZjL0wVGKErrnzKJJLVhOSua5VAyrNNyDRpU5jB3WkyS9ld3eRLihxW-M_HZ-lHLSKTl97FHgFZZWKOsyP4ZPSr6_hIuk/s400/untitled.JPG&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;</description><link>http://exploringsiebel.blogspot.com/2009/08/mapping-between-siebel-property-set-and.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU-TdAjXMqgsMTkrlNk5aqSJ9xQAm0K5U7phWEAVobJEN0CTLMsZ8eKjd87LEW7yl2jjNyjQLqc9Uo5KcotLidsiL0fx-QJafE_lSrXYXT24vzSdY4h_os-lqm4jG2xlp7FXeEMr0k_4o/s72-c/1.JPG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8531650369937741306.post-3916744308580270734</guid><pubDate>Sat, 15 Aug 2009 07:34:00 +0000</pubDate><atom:updated>2009-08-15T05:31:35.435-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Siebel EAI</category><category domain="http://www.blogger.com/atom/ns#">Siebel Errors</category><title>Workflow Revision Failed : SBL-DAT-00393: An end of file error has occurred.</title><description>Recently I faced a strange bug in my Siebel Tools. Whenever i tried to revise an workflow, i was getting this error :&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2kq8gE-vnw5ONYSBq05MA4EM6AJgst9nLQwHadE6DAXRozC0f5IC8TvgZtgu1867KSv9RITIREoTKBp9I8xiM7ZTBzPwlgK2j_I-uHi_XTa1FURxGOr0uX-WeK48CM_l82qyhC7gwBUQ/s1600-h/1.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5370092085532429170&quot; style=&quot;DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 217px; TEXT-ALIGN: center&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2kq8gE-vnw5ONYSBq05MA4EM6AJgst9nLQwHadE6DAXRozC0f5IC8TvgZtgu1867KSv9RITIREoTKBp9I8xiM7ZTBzPwlgK2j_I-uHi_XTa1FURxGOr0uX-WeK48CM_l82qyhC7gwBUQ/s400/1.JPG&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt;An end of file error has occurred. Please continue or ask your system administrator to check your application configuration if the problem persists. (SBL-DAT-00393).&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;And after i press Ok button, tools hangs and every time i have to restart the tools. &lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt; Even when i tried to connect directly to the database server the error was re-occurring. And this was happening with a specific workflow only. I was very much bugged up at that time.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;I searched support web but still couldn&#39;t find any reason behind this in Siebel Tools. &lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;Then one of colleague suggested me to delete excess versions of workflows in tools to get it done. &lt;/div&gt;&lt;div&gt;At first i thought it wouldn&#39;t help, but yes it worked!! &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I must say, Siebel has got mind of his own! Thanks to &lt;strong&gt;Manuj&lt;/strong&gt;, who helped me to get this thing done. &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;</description><link>http://exploringsiebel.blogspot.com/2009/08/workflow-revision-failed-sbl-dat-00393.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2kq8gE-vnw5ONYSBq05MA4EM6AJgst9nLQwHadE6DAXRozC0f5IC8TvgZtgu1867KSv9RITIREoTKBp9I8xiM7ZTBzPwlgK2j_I-uHi_XTa1FURxGOr0uX-WeK48CM_l82qyhC7gwBUQ/s72-c/1.JPG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8531650369937741306.post-5033136998603203708</guid><pubDate>Fri, 14 Aug 2009 08:36:00 +0000</pubDate><atom:updated>2009-08-14T03:24:29.906-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Best Practices</category><category domain="http://www.blogger.com/atom/ns#">Screencasts/Videos</category><title>Extending Column in Siebel : Video Tutorial</title><description>I haven&#39;t came across any siebel implementation till yet, that doesn&#39;t requires extension of siebel base tables. &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This usually required when siebel table doesn&#39;t have any column that can support the required data type or when there is additional data required at the business layer.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Although it can be achieved by using the extension table, but it is recommended that fields that are shown on UI or used frequently in the script should exists in the base column. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This is because that extension column requires an additional join in the sql query. And every time BC based on the base table will be queried, extension table will also be called into the memory. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;Here is one video from you tube that explain the whole process of extending column as a screen cast.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;object width=&quot;425&quot; height=&quot;344&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/l-h3_ySGCPc&amp;amp;hl=en&amp;amp;fs=1&amp;amp;&quot;&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;embed src=&quot;http://www.youtube.com/v/l-h3_ySGCPc&amp;amp;hl=en&amp;amp;fs=1&amp;amp;&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;425&quot; height=&quot;344&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://exploringsiebel.blogspot.com/2009/08/extending-column-in-siebel-video.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8531650369937741306.post-4963329155271753938</guid><pubDate>Tue, 11 Aug 2009 18:08:00 +0000</pubDate><atom:updated>2009-08-14T03:40:45.130-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Siebel Presentations</category><category domain="http://www.blogger.com/atom/ns#">Tom Siebel</category><category domain="http://www.blogger.com/atom/ns#">Where is IT going?</category><title>Tom Siebel at Stanford University: Glory Days Long Gone for I.T.?</title><description>Here are some videos of &lt;strong&gt;Entrepreneurial Thought Leader Lecture at &lt;/strong&gt;Standford University by &lt;strong&gt;Tom Siebel &lt;/strong&gt;who started siebel systems and sold it to oracle.&lt;br /&gt;&lt;br /&gt;Have a look what he has to say to new entrepreneurs @ stanford. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;embed id=&quot;single&quot; src=&quot;http://ecorner.stanford.edu/swf/player-ec.swf&quot; width=&quot;500&quot; height=&quot;302&quot; type=&quot;application/x-shockwave-flash&quot; flashvars=&quot;config=http://ecorner.stanford.edu/embeded_config.xml%3Fmid%3D2178&quot;&gt;&lt;/embed&gt;&lt;br /&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;br /&gt;Tom Siebel, Chairman of First Virtual Group, paints a picture of the dramatic explosion of the dot-com boom; an era, he recalls, where &quot;risk was a business problem, and not an anathema.&quot; With a 17 percent growth rate - an increase unprecedented before or since, says Siebel - the business opportunities of the 1980&#39;s era appeared to be unlimited. Changes in technology were total replacements, rather than incremental, meaning that every client had to buy and keep buying or find themselves lagging into obsolescence. He credits this free market flow with conjuring a revolution in computing and communications.&lt;br /&gt;&lt;br /&gt;&lt;embed id=&quot;single&quot; src=&quot;http://ecorner.stanford.edu/swf/player-ec.swf&quot; width=&quot;500&quot; height=&quot;302&quot; type=&quot;application/x-shockwave-flash&quot; flashvars=&quot;config=http://ecorner.stanford.edu/embeded_config.xml%3Fmid%3D2179&quot;&gt;&lt;/embed&gt;&lt;br /&gt;Description&lt;br /&gt;Most of the promise of post-industrial society has been realized, says Tom Siebel, Chairman of First Virtual Group, and all of the great technological advances and development of great companies are behind us. The tech sector is hovering around a mere three percent annual growth rate, says Siebel; keeping it just on par with the rate of current economic growth.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;embed id=&quot;single&quot; src=&quot;http://ecorner.stanford.edu/swf/player-ec.swf&quot; width=&quot;500&quot; height=&quot;302&quot; type=&quot;application/x-shockwave-flash&quot; flashvars=&quot;config=http://ecorner.stanford.edu/embeded_config.xml%3Fmid%3D2180&quot;&gt;&lt;/embed&gt;&lt;br /&gt;&lt;strong&gt;Description &lt;/strong&gt;&lt;br /&gt;The globe&#39;s human population is currently around six-and-a-half billion, and it is slated to reach nine billion people in the next twenty years. Tom Siebel, Chairman of First Virtual Group, points out that this sharp increase will propel a worldwide demand for food, water, energy, and healthcare. And, he adds, the business opportunities in providing these essentials are unparalleled.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;embed id=&quot;single&quot; src=&quot;http://ecorner.stanford.edu/swf/player-ec.swf&quot; width=&quot;500&quot; height=&quot;302&quot; type=&quot;application/x-shockwave-flash&quot; flashvars=&quot;config=http://ecorner.stanford.edu/embeded_config.xml%3Fmid%3D2181&quot;&gt;&lt;/embed&gt;&lt;br /&gt;Description&lt;br /&gt;Facing the likelihood of carbon reporting and carbon tracking that will be necessary with upcoming cap and trade legislation, Tom Siebel, First Virtual Group Chairman, announces a new initiative to help reduce the cost of reporting on an enterprise&#39;s carbon footprint - a tool that he foresees will serve a $3 trillion market in 2020.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;embed id=&quot;single&quot; src=&quot;http://ecorner.stanford.edu/swf/player-ec.swf&quot; width=&quot;500&quot; height=&quot;302&quot; type=&quot;application/x-shockwave-flash&quot; flashvars=&quot;config=http://ecorner.stanford.edu/embeded_config.xml%3Fmid%3D2182&quot;&gt;&lt;/embed&gt;&lt;br /&gt;&lt;strong&gt;Description &lt;/strong&gt;&lt;br /&gt;Forward-thinking entrepreneurs should consider government restrictions in their long-term business planning, says First Virtual Group&#39;s Chairman Tom Siebel. They should also be aware of the opportunities that exist through population growth and a growing demographic of the aged. And they should be thinking about solving the energy problem, and the provision of clean food and water for the planet.</description><link>http://exploringsiebel.blogspot.com/2009/08/tom-siebel-at-stanford-university-glory.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8531650369937741306.post-512685806699640229</guid><pubDate>Sat, 08 Aug 2009 17:16:00 +0000</pubDate><atom:updated>2009-08-14T03:43:08.424-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Best Practices</category><category domain="http://www.blogger.com/atom/ns#">Siebel Configuration</category><title>Adding Button on Applet – Part 2</title><description>&lt;div&gt;In&lt;a href=&quot;http://exploringsiebel.blogspot.com/2009/08/siebel-adding-button-on-applet-part-1.html&quot;&gt; part one&lt;/a&gt; of this post I have discussed how we can enable a button on applet and call workflow or service from it using scripting.&lt;/div&gt;&lt;div&gt;But Siebel user properties provides us the way to achieve the same behaviour without scripting. There are two or more solutions to it.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;Solution 1 &lt;/span&gt;: Using &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;CanInvokeMethod &lt;/span&gt;User Property&lt;/div&gt;&lt;div&gt;1.&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;Create control on applet with method invoke property set to required method name.&lt;/div&gt;&lt;div&gt;2.&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;Create an applet user property “&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;CanInvokeMethod&lt;/span&gt;”&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt; &lt;/span&gt;to activate this button conditionally.&lt;/div&gt;&lt;div&gt;3.&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;Add an “&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;NamedMethod&lt;/span&gt;” User Property on BusComp or Applet to invoke Business Service or Workflow of your choice.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;Solution 2&lt;/span&gt; : Using &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;EventMethodMethodName&lt;/span&gt; User Property&lt;/div&gt;&lt;div&gt;1.&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;Create Control applet with method invoke property as : &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;EventMethodMethodName&lt;/span&gt;. Where Method Name is your orignal method.&lt;/div&gt;&lt;div&gt;2.&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;Add “&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;EventMethod Enabled&lt;/span&gt;” user property on Buscomp to conditionally activate the button.&lt;/div&gt;&lt;div&gt;3.&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;Create a runtime event on PreInvoke of the Buscomp to invoke service or workflow.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Both of these solutions are suitable for our basic requirement of adding buttons on Siebel Applets. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Please note that these user properties works on &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;CSSBCBase &lt;/span&gt;BusComp class and&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt; CSSFrameListBase &lt;/span&gt;applet class&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;. &lt;/span&gt;These are not defualt classes when you create new objects.&lt;/div&gt;</description><link>http://exploringsiebel.blogspot.com/2009/08/adding-button-on-applet-part-2.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8531650369937741306.post-4666348440430873080</guid><pubDate>Mon, 03 Aug 2009 19:18:00 +0000</pubDate><atom:updated>2010-08-27T11:05:23.108-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Product Configurator</category><title>How to restrict length of an attribute - Part 2</title><description>In Continuation of my earlier &lt;a href=&quot;http://exploringsiebel.blogspot.com/2009/08/siebel-product-configurator-how-to.html&quot;&gt;post&lt;/a&gt;, for constraining the length of attribute, in this post i am explaining what other solution is available in out of the box Siebel application for this problem. &lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;Attribute selected&lt;/span&gt; is an event which gets triggered before any attribute&#39;s value is updated, this events sends the information of the attribute and the value as property set argument.&lt;br /&gt;
&lt;div&gt;XML representation of property set would look something like :&lt;/div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjx8SBxhG3lsTQOywFerRJb43t-WKH3is4anszUmTXumczvcSncNLlr1pGgjNlOrVQL9vnXoV4kq27O05f1XvkIDY1QaJzQ3m8_cEY6ex4x5nNb0ZJ8jVFFXcc26j5lIV-iQyQj19lAXd0/s1600-h/1.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5365823035029990914&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjx8SBxhG3lsTQOywFerRJb43t-WKH3is4anszUmTXumczvcSncNLlr1pGgjNlOrVQL9vnXoV4kq27O05f1XvkIDY1QaJzQ3m8_cEY6ex4x5nNb0ZJ8jVFFXcc26j5lIV-iQyQj19lAXd0/s400/1.JPG&quot; style=&quot;cursor: hand; display: block; height: 120px; margin: 0px auto 10px; text-align: center; width: 364px;&quot; /&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: italic;&quot;&gt;*from bookshelf&lt;/span&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: italic;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
Now if this property set is available as argument then i think writing script to constrain its value is not a big task. &lt;br /&gt;
&lt;br /&gt;
I have created this snippet, it worked in my case hope it works for others also.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;js&quot; name=&quot;code&quot;&gt;
function Cfg_AttributeSelected (SelectedAttribute)
{
 var temp = SelectedAttribute.GetChild(0);
 var sStr =  temp.GetProperty(&quot;NewVal&quot;);
 TheApplication().RaiseErrorText(&quot;Error&quot;);
}

&lt;/pre&gt;</description><link>http://exploringsiebel.blogspot.com/2009/08/how-to-restrict-length-of-attribute.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjx8SBxhG3lsTQOywFerRJb43t-WKH3is4anszUmTXumczvcSncNLlr1pGgjNlOrVQL9vnXoV4kq27O05f1XvkIDY1QaJzQ3m8_cEY6ex4x5nNb0ZJ8jVFFXcc26j5lIV-iQyQj19lAXd0/s72-c/1.JPG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8531650369937741306.post-1982311046385889208</guid><pubDate>Mon, 03 Aug 2009 18:33:00 +0000</pubDate><atom:updated>2010-06-12T09:26:42.950-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Miscellaneous</category><category domain="http://www.blogger.com/atom/ns#">Product Configurator</category><title>Siebel Product Configurator: How to restrict attribute length?</title><description>&lt;div&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Requirement&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;We have one requirement in our project, that we need to restrict the value of one attribute to five characters only.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;In Siebel vanilla application we tried to implement this without doing scripting, but failed.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;Solution we used:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;This requirement can be achieved in two ways:&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;1. By Scripting in Attribute Selected event. &lt;a href=&quot;http://exploringsiebel.blogspot.com/2009/08/how-to-restrict-length-of-attribute.html&quot;&gt;update&lt;/a&gt; or&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;2. Creating Custom User Properties for product configurator.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;I will be discussing the second solution in this post. It will involve editing of cfgui.js . For more info my older&lt;a href=&quot;http://exploringsiebel.blogspot.com/search/label/Product%20Configurator&quot;&gt;&amp;nbsp;posts&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;1. Find the following code in cfgui file.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDyPUpnmX8BmgXEMr5Ku0kWVwdVFQE2tmGqV4yCX8-vL1m_fk8S4gVeEH15g6bnMOLNQfKYCven1Vh0pR6z1X-UAsG9u2hLFlJcMtUEQ6CpsPlsS4YMygoFX5YuxPxpF_grAmOdnChpWs/s1600-h/1.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5365810011143473074&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDyPUpnmX8BmgXEMr5Ku0kWVwdVFQE2tmGqV4yCX8-vL1m_fk8S4gVeEH15g6bnMOLNQfKYCven1Vh0pR6z1X-UAsG9u2hLFlJcMtUEQ6CpsPlsS4YMygoFX5YuxPxpF_grAmOdnChpWs/s400/1.JPG&quot; style=&quot;cursor: pointer; display: block; height: 132px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;try to find text: function showtextbox.&lt;/div&gt;&lt;div&gt;&lt;b&gt;Updated Section:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;2. Replace the code with :&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifvCLJYihA5vebpTGkqP9nwz57IVL8prc8AamS7BNOa7qQKws6g6nd1sGnhCi2pu6V8fo7ISAf_eO_Y4P_KLjhBqDn1I9tpEkuH67TbMV95E4bvTyD49v3GRSqbnKJBYI3RG0jIkISEvE/s1600/code.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifvCLJYihA5vebpTGkqP9nwz57IVL8prc8AamS7BNOa7qQKws6g6nd1sGnhCi2pu6V8fo7ISAf_eO_Y4P_KLjhBqDn1I9tpEkuH67TbMV95E4bvTyD49v3GRSqbnKJBYI3RG0jIkISEvE/s320/code.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;3. Create user property on the root product like:&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKr8jDmtML7BI1_5UzCA-Di47sN0Wv_bBak8yVlCNCXTbGoa9FXN-32UkyhRCkbUVWd3cjEAZgW2OsXSYNFU_-aT3WRieFuUTU2vYxTQ4yrDmVeYLBE6wxwD4bWphsyEf7QwIsfRoHblc/s1600-h/1.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5365811447020282082&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKr8jDmtML7BI1_5UzCA-Di47sN0Wv_bBak8yVlCNCXTbGoa9FXN-32UkyhRCkbUVWd3cjEAZgW2OsXSYNFU_-aT3WRieFuUTU2vYxTQ4yrDmVeYLBE6wxwD4bWphsyEf7QwIsfRoHblc/s400/1.JPG&quot; style=&quot;cursor: hand; cursor: pointer; display: block; height: 158px; margin: 0px auto 10px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;and you are done!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Now clear cache of browser and restart the client.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Attribute on which you have defined the property will automatically be constrained by the number of characters that you have provided in property.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Hope its is understandable.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;For more info how it worked, look at the maxlength property&lt;a href=&quot;http://www.w3schools.com/htmldom/prop_text_maxlength.asp&quot;&gt; here.&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://exploringsiebel.blogspot.com/2009/08/siebel-product-configurator-how-to.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDyPUpnmX8BmgXEMr5Ku0kWVwdVFQE2tmGqV4yCX8-vL1m_fk8S4gVeEH15g6bnMOLNQfKYCven1Vh0pR6z1X-UAsG9u2hLFlJcMtUEQ6CpsPlsS4YMygoFX5YuxPxpF_grAmOdnChpWs/s72-c/1.JPG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8531650369937741306.post-4747776893279519138</guid><pubDate>Sun, 02 Aug 2009 14:42:00 +0000</pubDate><atom:updated>2009-09-27T12:19:21.131-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Product Configurator</category><title>Read only Siebel Product Configurator.</title><description>Requirement:&lt;br /&gt;
Requirement is to make the Configurator session read only conditionally, so that user should not be able to edit the product configuration but he should be able to view the configuration inside the configurator.&lt;br /&gt;
&lt;br /&gt;
Solution&lt;br /&gt;
This requirement can be implemented by editing vanilla/custom JavaScript libraries of the Product Configurator. The most of the work in showing the UI is done by &lt;a href=&quot;http://exploringsiebel.blogspot.com/2009/07/editing-conflict-page-of-siebel-product.html&quot;&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;cfgui.js&lt;/span&gt;&lt;/a&gt;file.&lt;br /&gt;
&lt;br /&gt;
Cfgui.js is a javascript library that converts the swe tags to the HTML tags that shows up as UI in siebel application.&lt;br /&gt;
&lt;br /&gt;
For Example:&lt;br /&gt;
&lt;br /&gt;
Here is one code in the swe template :&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;&amp;lt; id=&quot;swe:IncPAId+853&quot; cfgfieldname=&quot;AttValue&quot; cfghtmltype=&quot;CfgTextBox&quot; forcerefresh=&quot;Y&quot; cfgjsshow=&quot;showTextBox&quot; cfgjsupdateselection=&quot;updateSelectionInfoForAttribute&quot; &amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now in cfgui this swe code is converted in to HTML like this: &lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;js&quot; name=&quot;code&quot;&gt;innerHTML = &quot; &lt; input type=\&quot;teext\&quot; &quot; + &quot;value=\&quot;&quot; + displayValue + &quot;\&quot; &quot; + &quot;id=\&quot;GRPITEM&quot; + _pipe + grpItemId + _underscore + &quot;ATTTYPE&quot; + _pipe + &quot;TEXT&quot; +&quot;\&quot;&quot; + &quot; onchange=&#39;processInput(\&quot;GRPITEM&quot; + _pipe + grpItemId + _underscore + &quot;ATTTYPE&quot; + _pipe + &quot;TEXT&quot; +&quot;\&quot;, \&quot;\&quot;, \&quot;text\&quot;)&#39; /&gt;&quot;;
&lt;/pre&gt;&lt;br /&gt;
now when you closely go through the code, you will create the following string at the output:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;&amp;lt; type=&quot;”text”&quot; value=&quot;”Somevalue&quot; id=&quot;”generated&quot; onchange=&quot;”processInput(“Some arguments&quot;) &amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and that looks like very basic html snipet, which can be edited to make control read only by adding disabled=true in the js code tag.&lt;br /&gt;
&lt;br /&gt;
To make it work conditionally, we can check for the some profile attribute inside the js file like this:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;js&quot; name=&quot;code&quot;&gt;var readonly = top.theApplication().GetProfileAttr(&quot;ReadOnly&quot;);
top.theApplication().SetProfileAttr(&quot;ReadOnly&quot;,&quot;N&quot;);

if (readOnly == &quot;Y&quot;)
innerHTML = &quot;&lt;input disabled=true type=\&quot;text\&quot; &quot; + &quot;value=\&quot;&quot; + displayValue + &quot;\&quot; &quot; + &quot;id=\&quot;GRPITEM&quot; + _pipe + grpItemId + _underscore + &quot;ATTTYPE&quot; + _pipe + &quot;TEXT&quot; +&quot;\&quot;&quot; + &quot; onchange=&#39;processInput(\&quot;GRPITEM&quot; + _pipe + grpItemId + _underscore + &quot;ATTTYPE&quot; + _pipe + &quot;TEXT&quot; +&quot;\&quot;, \&quot;\&quot;, \&quot;text\&quot;)&#39; /&gt;&quot;;

else
innerHTML = &quot;&lt;input type=\&quot;text\&quot; &quot; + &quot;value=\&quot;&quot; + displayValue + &quot;\&quot; &quot; + &quot;id=\&quot;GRPITEM&quot; + _pipe + grpItemId + _underscore + &quot;ATTTYPE&quot; + _pipe + &quot;TEXT&quot; +&quot;\&quot;&quot; + &quot; onchange=&#39;processInput(\&quot;GRPITEM&quot; + _pipe + grpItemId + _underscore + &quot;ATTTYPE&quot; + _pipe + &quot;TEXT&quot; +&quot;\&quot;, \&quot;\&quot;, \&quot;text\&quot;)&#39; /&gt;&quot;;

&lt;/pre&gt;</description><link>http://exploringsiebel.blogspot.com/2009/08/read-only-siebel-product-configurator.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8531650369937741306.post-3042678745236894882</guid><pubDate>Sun, 02 Aug 2009 04:46:00 +0000</pubDate><atom:updated>2009-08-02T09:16:45.486-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Best Practices</category><category domain="http://www.blogger.com/atom/ns#">Siebel Configuration</category><title>Siebel: Adding Button on Applet - Part 1</title><description>&lt;div&gt;&lt;div&gt;This is one of the basic thing that we&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt; do in our siebel application. And every developer prefer his own way of configuring it.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;From my past experience there are two basic requirement for custom buttons :&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;1. It should &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;invoke&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt; a &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;Workflow or Business Service&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;2. It should become&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt; Active/Inactive&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;  based on certain condition.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Based on these requirements first solution that come to our mind is with a script in Pre_CanInvoke of applet, but there are lot more options available in Siebel for this requirement.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;First lets see how a scripting can solve this problem&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold; &quot;&gt;Solution1: Scripting Applet and BC&lt;/span&gt;&lt;/div&gt;&lt;div&gt;1. Create Control in Form or List Applet, Set its method invoke to name of the method.&lt;/div&gt;&lt;div&gt;2. Place it on the web layout of applet.&lt;/div&gt;&lt;div&gt;3. Write following script on applet pre can invoke event:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0ecYEzmRUAf0pJoU3wZt125QFqdnJ_Lnv9ekNic6UXBiXn8Njop9KtG2_WUtnotrWZToYv_TTZSf41Wcsku4ZX5pn-rhsPqrWgdy6KjYd6xV4B4CrHy_TP8y6GF2MWt-i1hNN-d0YDnw/s1600-h/1.JPG&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 150px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0ecYEzmRUAf0pJoU3wZt125QFqdnJ_Lnv9ekNic6UXBiXn8Njop9KtG2_WUtnotrWZToYv_TTZSf41Wcsku4ZX5pn-rhsPqrWgdy6KjYd6xV4B4CrHy_TP8y6GF2MWt-i1hNN-d0YDnw/s400/1.JPG&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5365399113065815394&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;4. Write the actual code to call service or workflow in &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;Applet&lt;/span&gt; pre invoke or&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt; BusComp&lt;/span&gt; PreInvoke.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This trick work always irrespective of the application or interactivity of the application or the applet type.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;But there are options available in Siebel that can be used to  achieve this functionality without use of scripting. We will examine other options in my next post!&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;/div&gt;</description><link>http://exploringsiebel.blogspot.com/2009/08/siebel-adding-button-on-applet-part-1.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0ecYEzmRUAf0pJoU3wZt125QFqdnJ_Lnv9ekNic6UXBiXn8Njop9KtG2_WUtnotrWZToYv_TTZSf41Wcsku4ZX5pn-rhsPqrWgdy6KjYd6xV4B4CrHy_TP8y6GF2MWt-i1hNN-d0YDnw/s72-c/1.JPG" height="72" width="72"/><thr:total>0</thr:total></item></channel></rss>