<?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>aras. uiReShowItem how to use ?</title><link>https://www.aras.com/community/f/development/37522/aras-uireshowitem-how-to-use</link><description>In one of my requirement after hide / show relationship grid column based parent field value, I want to refresh Item form/grid to see changes done. For this purpose I am using 
 aras.uiReShowItem in onformPopulate event it keeps on loading item. And item</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: aras. uiReShowItem how to use ?</title><link>https://www.aras.com/community/thread/8642?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 04:10:53 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:c7311b2b-5ac0-4dd9-a084-8ec92b01bfd1</guid><dc:creator>ArG</dc:creator><description>&lt;p&gt;Add code if relationship is loaded,&amp;nbsp;then hide th &amp;amp; tr of required relationship.&lt;/p&gt;
&lt;p&gt;Assuming the relatioship tab is first tab&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: aras. uiReShowItem how to use ?</title><link>https://www.aras.com/community/thread/8641?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 02:49:52 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:07adf51e-35ce-4c62-923a-d149c537fda6</guid><dc:creator>ArG</dc:creator><description>&lt;p&gt;is it possible to share code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: aras. uiReShowItem how to use ?</title><link>https://www.aras.com/community/thread/8611?ContentTypeID=1</link><pubDate>Mon, 01 Aug 2022 15:00:40 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:320e4861-2e86-4c2c-8557-92c81799433f</guid><dc:creator>Kara</dc:creator><description>&lt;p&gt;Thank you for your reply .&lt;/p&gt;
&lt;p&gt;This API worked well when added onChange event as based on dropdown value I want to hide/show coloumns .&lt;/p&gt;
&lt;p&gt;But if save and reopen the Item grid changes are not displayed (It doesnt hide show any coloumn). To overcome this I added method onFormPopulate Event on the form . But it didnt worked . It shows below error.&lt;/p&gt;
&lt;p&gt;How can I handle this ?&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffff00;"&gt;Internal Error: event handler failed. Event handler failed with message: TypeError: Cannot read properties of undefined (reading &amp;#39;getElementsByTagName&amp;#39;) [function onload$user$handler(e)&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;"&gt; {&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;"&gt; try&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;"&gt; {&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;"&gt; if (onload1(e) === false)&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;"&gt; return false;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;"&gt; if (onload2(e) === false)&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;"&gt; return false;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;"&gt; }&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;"&gt; catch (exp)&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;"&gt; {&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;"&gt; aras.AlertError(aras.getResource(&amp;#39;&amp;#39;, &amp;#39;ui_methods_ex.event_handler_failed&amp;#39;), aras.getResource(&amp;#39;&amp;#39;, &amp;#39;ui_methods_ex.event_handler_failure_msg&amp;#39;, exp.description ? exp.description : (exp + &amp;#39; [' +arguments.callee.toString()+ ']&amp;#39;)), aras.getResource(&amp;#39;&amp;#39;,&amp;#39;common.client_side_err&amp;#39;));&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;"&gt; return false;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;"&gt; }&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;"&gt; }] Client Side Error&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffff00;"&gt;&lt;span style="background-color:#ffffff;"&gt;Thank you .&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: aras. uiReShowItem how to use ?</title><link>https://www.aras.com/community/thread/8602?ContentTypeID=1</link><pubDate>Sun, 31 Jul 2022 14:56:51 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:f7dacefc-fbe7-4ea8-918c-cf73b692e735</guid><dc:creator>ArG</dc:creator><description>&lt;p&gt;Did you try like this&lt;/p&gt;
&lt;p&gt;Hide Column:&lt;/p&gt;
&lt;p&gt;parent.findCurrentRelationshipsTab().document.getElementById(&amp;#39;gridTD&amp;#39;).children[1].getElementsByTagName(&amp;#39;th&amp;#39;)[&lt;strong&gt;ColumnIndex&lt;/strong&gt;].setAttribute(&amp;#39;style&amp;#39;,&amp;#39;&lt;strong&gt;display:none;&lt;/strong&gt;&amp;#39;);&lt;/p&gt;
&lt;p&gt;and&lt;br /&gt;top.aras.uiReShowItemEx(this.item.id,this.item);&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>