<?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 Answers &#187; User Properties</title>
	<atom:link href="http://interview.siebelunleashed.com/blog/category/user-properties/feed/" rel="self" type="application/rss+xml" />
	<link>http://interview.siebelunleashed.com/blog</link>
	<description>Making Siebel Interviews easy</description>
	<lastBuildDate>Mon, 29 Mar 2010 15:52:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>How to enable a particular child entity?</title>
		<link>http://interview.siebelunleashed.com/blog/configuration/how-to-enable-a-particular-child-entity/</link>
		<comments>http://interview.siebelunleashed.com/blog/configuration/how-to-enable-a-particular-child-entity/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 15:52:22 +0000</pubDate>
		<dc:creator>neel</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[User Properties]]></category>

		<guid isPermaLink="false">http://interview.siebelunleashed.com/blog/?p=506</guid>
		<description><![CDATA[Question: When Service Request status is set to “Closed” then everything including all the child entities of Service Request should become read only but user should still be able to attachments. OR When SR status is set to “Close” all the child entities except “Service Request Attachments” should become read only. Answer: Service Request and [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><strong>Question:</strong></p>
<p>When Service Request status is set to “<strong>Closed</strong>” then everything including all the child entities of <strong>Service Request</strong> should become read only but user should still be able to attachments.</p>
<p>OR</p>
<p>When SR status is set to “Close” all the child entities except “Service Request Attachments” should become read only.<span id="more-506"></span></p>
<p><strong>Answer:</strong></p>
<p><strong>Service Request</strong> and all its child entities become “Read Only” as result of class based functionality of Service Request. So, we need to override the functionality and enable “Service Request Attachment” even after the status is changed to “Closed”. This can be achieved as following:</p>
<p>Define “<strong>Always Enable Child</strong>” User Property on Service Request BC will the following details:</p>
<p><strong>Name:</strong> Always Enable Child: Service Request Attachment<br />
<strong>Value:</strong> TRUE</p>
<div id="wherego_related"><h3>Readers who viewed this page, also viewed:</h3><ul><li><a href="http://interview.siebelunleashed.com/blog/configuration/different-types-tables-siebel/" rel="bookmark" class="wherego_title">What are different types of tables in Siebel?</a></li><li><a href="http://interview.siebelunleashed.com/blog/configuration/picklist-values-not-showing/" rel="bookmark" class="wherego_title">Picklist values not showing</a></li><li><a href="http://interview.siebelunleashed.com/blog/configuration/make-record-editable-for-some-and-read-only-for-some/" rel="bookmark" class="wherego_title">Make record editable for some and read only for some?</a></li><li><a href="http://interview.siebelunleashed.com/blog/workflows/difference-between-end-stop-step-in-workflow/" rel="bookmark" class="wherego_title">What is the difference between End Step and Stop Step in Workflow?</a></li><li><a href="http://interview.siebelunleashed.com/blog/workflows/use-of-providing-busobjects-workflows/" rel="bookmark" class="wherego_title">What is the Use of Providing BusObject in the Workflows?</a></li><li><a href="http://interview.siebelunleashed.com/blog/siebel-eai/siebel-eai-scenario-interview-question-2/" rel="bookmark" class="wherego_title">Siebel EAI Scenario question – 2</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/where-did-they-go-from-here/">Where did they go from here?</a></li></ul></div><p></p>]]></content:encoded>
			<wfw:commentRss>http://interview.siebelunleashed.com/blog/configuration/how-to-enable-a-particular-child-entity/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to update a field based on change in another field?</title>
		<link>http://interview.siebelunleashed.com/blog/user-properties/update-field-change-another-field/</link>
		<comments>http://interview.siebelunleashed.com/blog/user-properties/update-field-change-another-field/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 22:31:36 +0000</pubDate>
		<dc:creator>neel</dc:creator>
				<category><![CDATA[User Properties]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[eScript]]></category>
		<category><![CDATA[User property]]></category>

		<guid isPermaLink="false">http://interview.siebelunleashed.com/blog/?p=483</guid>
		<description><![CDATA[How to update a field based on change in another field? OR How to update a field when another field is updated? The answer to this question is. Scripting On Field Update Set n user property. (This is the answer interviewer is looking for though) Explanation: Scripting: You can write script on SetFieldValue event of [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><strong>How to update a field based on change in another field?</strong></p>
<p><strong>OR</strong></p>
<p><strong>How to update a field when another field is updated?<br />
</strong><span id="more-483"></span></p>
<p>The answer to this question is.</p>
<ul>
<li>Scripting</li>
<li>On Field Update Set n user property. <strong><span style="color: #999999;">(This is the answer interviewer is looking for though)</span></strong></li>
</ul>
<p><!--more--></p>
<p style="float: right"><!--adsense#interview--></p>
<p><strong>Explanation:</strong></p>
<p><strong>Scripting:</strong></p>
<p>You can write script on <strong>SetFieldValue event</strong> of buscomp to update the <strong>target field</strong>. But the <strong>problem</strong> with this solution is if user <strong>UNDO</strong> the record then your script won’t <strong>revert back</strong> the changes that it has done.</p>
<p><strong>One more solution</strong> can be to check in SetFieldValue event if that field is being updated through <strong>global flag</strong> and then on <strong>WriteEvent</strong> of buscomp execute your script only if that <strong>flag is set to true</strong>. But again you will have to set global flag to false may be Delete event <strong>(this is fired when user undo the record).</strong></p>
<p>These solutions by scripting are really <strong>cumbersome</strong>. So we generally use <strong>On Field Update set n</strong> User property for this kind of requirement.</p>
<p><strong>On Field Update Set n:</strong></p>
<p>As the name suggests that this user property is used to <em>set value of another field when a particular field is updated</em>. In this user property n is the incremental number which is 1 more than the number used in the last On Field Update Set user property.</p>
<p><strong>Value:</strong><br />
The value of the On Field Update Set user property consists of three quoted parameters separated by a comma and a space which is as following <em><strong>&#8220;FieldToCheck&#8221;, &#8220;FieldToSet&#8221;, &#8220;[Value]&#8220;</strong></em></p>
<p align="center"><!--adsense#linkunitbody--></p>
<p><strong>Example:</strong><br />
You want to set TargetField with SourceField value whenever SourceField is updated. So you will specify it like this.</p>
<p><em><strong>Property: On Field Update Set 1<br />
Value : “SourceField”, “TargetField”, “[SourceField]”</strong></em></p>
<p>You can also make use of expression in the Value that you specify.</p>
<p><strong>Example:</strong></p>
<p><em><strong>“SourceField”, “TargetField”, “[SourceField] + [AnotherField]”</strong></em></p>
<div id="wherego_related"><h3>Readers who viewed this page, also viewed:</h3><ul><li><a href="http://interview.siebelunleashed.com/blog/configuration/different-types-tables-siebel/" rel="bookmark" class="wherego_title">What are different types of tables in Siebel?</a></li><li><a href="http://interview.siebelunleashed.com/blog/configuration/link-specification-interview-question/" rel="bookmark" class="wherego_title">Link Specification–Interview Question.</a></li><li><a href="http://interview.siebelunleashed.com/blog/siebel-functionality/user-contact-employee-siebel/" rel="bookmark" class="wherego_title">User-Contact and an Employee in Siebel</a></li><li><a href="http://interview.siebelunleashed.com/blog/configuration/make-record-editable-for-some-and-read-only-for-some/" rel="bookmark" class="wherego_title">Make record editable for some and read only for some?</a></li><li><a href="http://interview.siebelunleashed.com/blog/smart-scripts/how-to-invoke-smart-script-on-click-of-a-button/" rel="bookmark" class="wherego_title">How to invoke Smart Script on click of a button?</a></li><li><a href="http://interview.siebelunleashed.com/blog/configuration/difference-incremental-full-compile/" rel="bookmark" class="wherego_title">What is difference between Incremental Compile and Full Compile?</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/where-did-they-go-from-here/">Where did they go from here?</a></li></ul></div><p></p>]]></content:encoded>
			<wfw:commentRss>http://interview.siebelunleashed.com/blog/user-properties/update-field-change-another-field/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

