<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Display property value to be different from actual value</title><link>https://www.aras.com/community/f/development/3335/display-property-value-to-be-different-from-actual-value</link><description>Hi,

I would like to have a property value displayed&amp;#160;differently than the actual value which is on the Item.

I could have a field on the form, which can be set on form load, but I want the same behavior on the search grid, relationship grids as well</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Display property value to be different from actual value</title><link>https://www.aras.com/community/thread/664?ContentTypeID=1</link><pubDate>Thu, 20 Jul 2017 15:17:32 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:c3efb105-396b-4ad9-ac42-ad79839b7471</guid><dc:creator>Zahar Chernov</dc:creator><description>Dharma,

Then you need to change the event to onBeforeGet to do something like this:
&lt;blockquote&gt;this.setProperty(&amp;quot;keyed_name&amp;quot;, {new value} );
return this;&lt;/blockquote&gt;
This code will only change the value of keyed_name that returned and not actual value in DB

But keep in mind that if you will always need to show the same value, so there is no reason not to save it to the keyed_name property once instead running your logic every time that object is returned from the DB.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Display property value to be different from actual value</title><link>https://www.aras.com/community/thread/661?ContentTypeID=1</link><pubDate>Thu, 20 Jul 2017 12:22:05 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:8a68b973-b310-47a3-973b-a0d23f0f7799</guid><dc:creator>Dharmatej34</dc:creator><description>Hi Zahar,

Thanks for the reply.

I want the property value to be changed and displayed only on the client side.

If I have a &amp;quot;after add&amp;quot; or &amp;quot;after update&amp;quot;  events, these would get triggered, even if I query the item on server side using AML or API, which would change the property value. So I wanted the property value changed only when it gets displayed in the client.

Regards,

Dharma&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Display property value to be different from actual value</title><link>https://www.aras.com/community/thread/646?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2017 14:27:23 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:41cd278b-c3e8-4ff0-b247-dd0255a5591f</guid><dc:creator>Zahar Chernov</dc:creator><description>To achieve your functionality you can add server method for &amp;quot;after add&amp;quot; and &amp;quot;after update&amp;quot; events and this method need to update property keyed_name.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Display property value to be different from actual value</title><link>https://www.aras.com/community/thread/648?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2017 12:17:10 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:c5ef3269-0a80-4113-9ba6-5a157b117d4a</guid><dc:creator>Dharmatej34</dc:creator><description>I would like to have a method, which would change the value based on some rules, just for displaying it to the user.

Thanks in advance.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Display property value to be different from actual value</title><link>https://www.aras.com/community/thread/640?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2017 11:34:54 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:c9029839-5076-45aa-af80-9537f34a7128</guid><dc:creator>Zahar Chernov</dc:creator><description>Hello,

Can you explain what you mean by &amp;quot;differently&amp;quot;?
Are you trying to do something like this (example):
&lt;blockquote&gt;You have Part with part number &amp;quot;ASS12345&amp;quot; and revision 1.0
And you want to be able to see &amp;quot;ASS12345 1.0&amp;quot;?&lt;/blockquote&gt;
`&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>