<?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>How can I hide  some columns in relationship grid base on the some rule of parent item type</title><link>https://www.aras.com/community/f/development/6343/how-can-i-hide-some-columns-in-relationship-grid-base-on-the-some-rule-of-parent-item-type</link><description>I need to hide some columns in relationship grid base on the some rules of parent item type when form on populated. 
 Is it possible?</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: How can I hide  some columns in relationship grid base on the some rule of parent item type</title><link>https://www.aras.com/community/thread/3748?ContentTypeID=1</link><pubDate>Tue, 15 Oct 2019 08:44:36 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:d346c691-4d4f-4e0f-bbe0-c3963c4e889a</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Hi Siva,&lt;/p&gt;
&lt;p&gt;thanks for sharing your sample code! Will it also work when several people work within the same instance in parallel? As you directly change the ItemType property I assume it will work well for a certain amount of people. But what will happen when around 1000 users will move around in the same ItemType?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am also interested in the use case, but haven&amp;acute;t found a solution yet. But in the past I was thinking about a Method that uses dijit to influences the relationship content. But that was just an idea...&lt;/p&gt;
&lt;p&gt;Angela&lt;/p&gt;
&lt;p&gt;// EDIT: I think made some mistake reading your code. You only overwrite the property settings in the DOM, not in the database, correct? That of course shouldn&amp;acute;t make any trouble. :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I hide  some columns in relationship grid base on the some rule of parent item type</title><link>https://www.aras.com/community/thread/3746?ContentTypeID=1</link><pubDate>Tue, 15 Oct 2019 05:25:57 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:94388ea7-d988-4d7c-a6a8-ca69f17738b8</guid><dc:creator>SivaKumarReddy P</dc:creator><description>&lt;p&gt;Hi tenny,&lt;/p&gt;
&lt;p&gt;Hope this is useful.&lt;/p&gt;
&lt;p&gt;var inn=new Innovator();&lt;br /&gt;var cType=document.thisItem.getType();&lt;/p&gt;
&lt;p&gt;var iType=inn.newItem(&amp;quot;ItemType&amp;quot;,&amp;quot;get&amp;quot;);&lt;br /&gt;iType.setAttribute(&amp;quot;where&amp;quot;,&amp;quot;[ItemType].name=&amp;#39;&amp;quot;+cType+&amp;quot;&amp;#39;&amp;quot;);&lt;br /&gt;iType=iType.apply();&lt;/p&gt;
&lt;p&gt;var RT=inn.newItem(&amp;quot;RelationshipType&amp;quot;,&amp;quot;get&amp;quot;);&lt;br /&gt;RT.setAttribute(&amp;quot;where&amp;quot;,&amp;quot;[RelationshipType].source_id=&amp;#39;&amp;quot;+iType.getID()+&amp;quot;&amp;#39; and [relationshiptype].name=&amp;#39;&amp;#39;&amp;quot;);//relationship type name&lt;br /&gt;RT=RT.apply();&lt;br /&gt;var relId=RT.getProperty(&amp;quot;related_id&amp;quot;);&lt;/p&gt;
&lt;p&gt;var nProp=inn.newItem(&amp;quot;Property&amp;quot;,&amp;quot;get&amp;quot;);&lt;br /&gt;nProp.setAttribute(&amp;quot;where&amp;quot;,&amp;quot;[Property].source_id=&amp;#39;&amp;quot;+relid+&amp;quot;&amp;#39; and [property].name=&amp;#39;property name&amp;#39;&amp;quot;);//say department&lt;br /&gt;nProp=nProp.apply();&lt;/p&gt;
&lt;p&gt;if(document.thisItem.getProperty(&amp;quot;say department&amp;quot;)===&amp;quot;&amp;quot;)//give your dept name&lt;br /&gt;{&lt;br /&gt;nProp.setAction(&amp;quot;edit&amp;quot;);&lt;br /&gt;nProp.setProperty(&amp;quot;is_hidden2&amp;quot;,&amp;quot;1&amp;quot;);&lt;br /&gt;nProp=nProp.apply();&lt;br /&gt;}&lt;br /&gt;else{&lt;br /&gt;nProp.setAction(&amp;quot;edit&amp;quot;);&lt;br /&gt;nProp.setProperty(&amp;quot;is_hidden2&amp;quot;,&amp;quot;0&amp;quot;);&lt;br /&gt;nProp=nProp.apply();&lt;br /&gt;aras.clearClientMetadataCache();&lt;br /&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I hide  some columns in relationship grid base on the some rule of parent item type</title><link>https://www.aras.com/community/thread/3733?ContentTypeID=1</link><pubDate>Mon, 14 Oct 2019 04:48:06 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:1fdbac61-e658-4ebc-997b-d4563aeb9c7e</guid><dc:creator>tenny</dc:creator><description>&lt;p&gt;please tell me how to do that, thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I hide  some columns in relationship grid base on the some rule of parent item type</title><link>https://www.aras.com/community/thread/3703?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2019 04:47:20 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:43578e53-3d08-45ad-9e38-6ebf0657bba6</guid><dc:creator>SivaKumarReddy P</dc:creator><description>&lt;p&gt;it is possible when that relationshiptype is not added in any other item type&amp;#39;s relationshiptype&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I hide  some columns in relationship grid base on the some rule of parent item type</title><link>https://www.aras.com/community/thread/3683?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2019 03:46:34 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:584247eb-26a2-43b4-a82b-7bdc89c1b797</guid><dc:creator>tenny</dc:creator><description>&lt;p&gt;I have a property department in parent item type,I would like to hide some columns in relationship grid depends on department property when the form on populated event.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I hide  some columns in relationship grid base on the some rule of parent item type</title><link>https://www.aras.com/community/thread/3682?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2019 02:53:16 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:f6cff65e-1464-4783-b5f2-3feccec098bd</guid><dc:creator>SivaKumarReddy P</dc:creator><description>&lt;p&gt;yaa it&amp;#39;s possible,may i know your requirement&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>