<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Siebel Consultant &#187; Configuration</title>
	<atom:link href="http://siebelconsultant.net/category/configuration/feed/" rel="self" type="application/rss+xml" />
	<link>http://siebelconsultant.net</link>
	<description>Diary of a Siebel Consultant</description>
	<lastBuildDate>Wed, 27 Jan 2010 07:59:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>RaiseError()</title>
		<link>http://siebelconsultant.net/raiseerror/</link>
		<comments>http://siebelconsultant.net/raiseerror/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 04:17:31 +0000</pubDate>
		<dc:creator>Wim</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[eScript]]></category>
		<category><![CDATA[error handling]]></category>
		<category><![CDATA[error message]]></category>
		<category><![CDATA[multi lingual]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://siebelconsultant.net/?p=52</guid>
		<description><![CDATA[A while ago I discovered the function RaiseError() in Siebel. To be honest, a colleague said that I could use that function in stead of RaiseErrorText().
Since we are implementing a multi-lingual application, all error messages should be multi-lingual. So whenever we wanted to throw an error message in eScript, we used the following code combining [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago I discovered the function RaiseError() in Siebel. To be honest, a colleague said that I could use that function in stead of RaiseErrorText().</p>
<p>Since we are implementing a multi-lingual application, all error messages should be multi-lingual. So whenever we wanted to throw an error message in eScript, we used the following code combining RaiseErrorText and LookupMessage in order to throw the error in the correct language.</p>
<blockquote>
<p style="text-align: left;">TheApplication().RaiseErrorText(TheApplication().LookupMessage(&#8220;User Defined Errors&#8221;, &#8220;X_DISPATCH_REQUIRED_FIELDS&#8221;));</p>
</blockquote>
<p>As you can see, this requires a lot of typing and this was also the opinion of a colleague. He then suggested me to use the RaiseError function instead. This is actually the same, but you just have to pass the name of the error you want to throw as an argument.</p>
<blockquote><p>TheApplication().RaiseError(&#8220;X_BARCODE_NOT_NUMERIC&#8221;);</p></blockquote>
<p>Off course you have to create the error message first in Tools in Message Category -&gt; User Defined Errors and not in User Defined Strings as I tried.</p>
<p>The RaiseError function saves you time on typing code, so be sure to use it next time you want to throw an error in you script when running a multi lingual application.</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://siebelconsultant.net/raiseerror/&amp;title=RaiseError%28%29" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://siebelconsultant.net/raiseerror/&amp;title=RaiseError%28%29" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://siebelconsultant.net/raiseerror/&amp;t=RaiseError%28%29" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=RaiseError%28%29+-+http://tinyurl.com/nqk8to+" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://siebelconsultant.net/raiseerror/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://siebelconsultant.net/raiseerror/&amp;title=RaiseError%28%29" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-mail">
			<a href="mailto:?subject=%22RaiseError%28%29%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22A%20while%20ago%20I%20discovered%20the%20function%20RaiseError%28%29%20in%20Siebel.%20To%20be%20honest%2C%20a%20colleague%20said%20that%20I%20could%20use%20that%20function%20in%20stead%20of%20RaiseErrorText%28%29.%0D%0A%0D%0ASince%20we%20are%20implementing%20a%20multi-lingual%20application%2C%20all%20error%20messages%20should%20be%20multi-lingual.%20So%20whenever%20we%20wanted%20to%20throw%20an%20error%20mess%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://siebelconsultant.net/raiseerror/" rel="nofollow" title="Email this to a friend?">Email this to a friend?</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://siebelconsultant.net/raiseerror/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>DefaultFocus</title>
		<link>http://siebelconsultant.net/defaultfocus/</link>
		<comments>http://siebelconsultant.net/defaultfocus/#comments</comments>
		<pubDate>Sat, 28 Jul 2007 18:27:11 +0000</pubDate>
		<dc:creator>Wim</dc:creator>
				<category><![CDATA[Configuration]]></category>

		<guid isPermaLink="false">http://siebelconsultant.net/defaultfocus/</guid>
		<description><![CDATA[Since my knowledge of Siebel is far from complete, I&#8217;m still learning new stuff every day. Yesterday I was working on a little requirement that said that the tab order on the Service Request applet should have a logical order. So I set the tab layout and when I tested it, everything was ok, but [...]]]></description>
			<content:encoded><![CDATA[<p>Since my knowledge of Siebel is far from complete, I&#8217;m still learning new stuff every day. Yesterday I was working on a little requirement that said that the tab order on the Service Request applet should have a logical order. So I set the tab layout and when I tested it, everything was ok, but when I wanted to create a new Service Request, the cursor automatically showed up in the Contact field instead of the Contract field which was tab n° 1.</p>
<p>After looking in supportweb and asking my colleagues for advice I stumbled upon the DefaultFocus_New Applet User Property where you can specify the field that should have the focus on creating a new record.</p>
<p>Who know&#8217;s how much time I would have spent looking to solve this problem if I didn&#8217;t found this user property.</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://siebelconsultant.net/defaultfocus/&amp;title=DefaultFocus" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://siebelconsultant.net/defaultfocus/&amp;title=DefaultFocus" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://siebelconsultant.net/defaultfocus/&amp;t=DefaultFocus" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=DefaultFocus+-+http://tinyurl.com/lwum9g+" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://siebelconsultant.net/defaultfocus/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://siebelconsultant.net/defaultfocus/&amp;title=DefaultFocus" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-mail">
			<a href="mailto:?subject=%22DefaultFocus%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22Since%20my%20knowledge%20of%20Siebel%20is%20far%20from%20complete%2C%20I%27m%20still%20learning%20new%20stuff%20every%20day.%20Yesterday%20I%20was%20working%20on%20a%20little%20requirement%20that%20said%20that%20the%20tab%20order%20on%20the%20Service%20Request%20applet%20should%20have%20a%20logical%20order.%20So%20I%20set%20the%20tab%20layout%20and%20when%20I%20tested%20it%2C%20everything%20was%20ok%2C%20but%20when%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://siebelconsultant.net/defaultfocus/" rel="nofollow" title="Email this to a friend?">Email this to a friend?</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://siebelconsultant.net/defaultfocus/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Creating new Profile Attribute</title>
		<link>http://siebelconsultant.net/creating-new-profile-attribute/</link>
		<comments>http://siebelconsultant.net/creating-new-profile-attribute/#comments</comments>
		<pubDate>Sun, 29 Apr 2007 19:57:47 +0000</pubDate>
		<dc:creator>Wim</dc:creator>
				<category><![CDATA[Configuration]]></category>

		<guid isPermaLink="false">http://siebelconsultant.net/creating-new-profile-attribute/</guid>
		<description><![CDATA[For some applets in our application it was implemented that only a user with a certain position could create new records. To do this, I used scripting to enable/disable the invoke of the method if the user had the correct position. Since this was done with the position name hardcoded in the script, this was [...]]]></description>
			<content:encoded><![CDATA[<p>For some applets in our application it was implemented that only a user with a certain position could create new records. To do this, I used scripting to enable/disable the invoke of the method if the user had the correct position. Since this was done with the position name hardcoded in the script, this was not the best method because the position name could change or an extra position could be added which also needed this function.</p>
<p>Therefor we wanted to search for position type, but there is no method in Siebel eScript to return the position type. Then a colleague remebered that there is a way to create new profile attributes which contains user info (such as the postion type we needed). After searching on Supportweb we found out that it was very easy to do this.</p>
<p>To create a new profile attribute, to the following:</p>
<p>Browse for the business component Personalization Profile and create a new field called &#8220;Position Type&#8221; (or copy the field Position) with following values:</p>
<ul>
<li>Mulitvalue Link: Position</li>
<li>Dest Field: Position Type</li>
</ul>
<p>After compiling the Business Component, you can get this profile attribute in a script with TheApplication().GetProfileAttr(&#8220;Position Type&#8221;)</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://siebelconsultant.net/creating-new-profile-attribute/&amp;title=Creating+new+Profile+Attribute" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://siebelconsultant.net/creating-new-profile-attribute/&amp;title=Creating+new+Profile+Attribute" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://siebelconsultant.net/creating-new-profile-attribute/&amp;t=Creating+new+Profile+Attribute" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=Creating+new+Profile+Attribute+-+http://tinyurl.com/nn2v2h+" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://siebelconsultant.net/creating-new-profile-attribute/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://siebelconsultant.net/creating-new-profile-attribute/&amp;title=Creating+new+Profile+Attribute" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-mail">
			<a href="mailto:?subject=%22Creating%20new%20Profile%20Attribute%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22For%20some%20applets%20in%20our%20application%20it%20was%20implemented%20that%20only%20a%20user%20with%20a%20certain%20position%20could%20create%20new%20records.%20To%20do%20this%2C%20I%20used%20scripting%20to%20enable%2Fdisable%20the%20invoke%20of%20the%20method%20if%20the%20user%20had%20the%20correct%20position.%20Since%20this%20was%20done%20with%20the%20position%20name%20hardcoded%20in%20the%20script%2C%20%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://siebelconsultant.net/creating-new-profile-attribute/" rel="nofollow" title="Email this to a friend?">Email this to a friend?</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://siebelconsultant.net/creating-new-profile-attribute/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
