<?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>Update RelationShip Tab on change</title><link>https://www.aras.com/community/f/development/3438/update-relationship-tab-on-change</link><description>Hi guys !

I&amp;#39;m looking to refresh the current RelationShipTab (TearOff) on change detected in the form.

For the event, no problem.

I found how remove the tab :

var tabbar = parent.relationships.relTabbar;
tabbar.removeTabByLabel(&amp;quot;Rapport&amp;quot;);

 

And</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Update RelationShip Tab on change</title><link>https://www.aras.com/community/thread/945?ContentTypeID=1</link><pubDate>Sat, 21 Oct 2017 07:20:52 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:8ae7c4fa-0abf-4687-97bb-24cbb3c57cb9</guid><dc:creator>Zahar Chernov</dc:creator><description>Hello Vincent,

What you can do is to attach Form method to OnPopulate event:

&lt;pre&gt;&lt;code&gt;
&amp;lt;pre&amp;gt;if(aras.getMostTopWindowWithAras(window).frames.relationships){// check &amp;quot;no tabs in tab view&amp;quot; 
	var iFramesCollection = aras.getMostTopWindowWithAras(window).frames.relationships.iframesCollection;	
	for (var tabId in  iFramesCollection) {
		var relshipTypeNd = aras.getRelationshipType(tabId);
		var relshipTypeName = aras.getItemProperty(relshipTypeNd.node, &amp;quot;name&amp;quot;);
		if(relshipTypeName === &amp;quot;{NAME OF THE TAB YOU NEED TO REFRESH&amp;quot;) {
			iFramesCollection[tabId].contentWindow.location.reload()
		}
	}
}&amp;lt;/pre&amp;gt;
&lt;/code&gt;&lt;/pre&gt;


If your tab is standard Aras relationship it will be refreshed by Aras everytime Item Save\Refresh button pressed&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update RelationShip Tab on change</title><link>https://www.aras.com/community/thread/942?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2017 09:49:10 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:4dbdb9ff-dd7e-4cc8-b397-62d6ac983a39</guid><dc:creator>vincent.heuvrard@agcocorp.com</dc:creator><description>I tried with an another way :

Reload a part of my webpage using HTML Tag like Id.

One thing i don&amp;#39;t understand : I cannot access to the dom of the bottom of the page (My webpage) from a javascript method called by an event.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update RelationShip Tab on change</title><link>https://www.aras.com/community/thread/940?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2017 06:32:20 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:3a84fc32-94a4-4ae3-868c-42d2f72c8c18</guid><dc:creator>vincent.heuvrard@agcocorp.com</dc:creator><description>For the moment, HTML page with some reports (HTML tables)

But could be the same need with RelationShip view.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update RelationShip Tab on change</title><link>https://www.aras.com/community/thread/937?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2017 05:51:18 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:d237a389-fffc-42b7-ac2f-fdeaeb33192b</guid><dc:creator>Zahar Chernov</dc:creator><description>Hi,

Can you tell us what is a content of this tab:
&lt;ul&gt;
 	&lt;li&gt;Regual Relationship view&lt;/li&gt;
 	&lt;li&gt;HTML page&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>