Forum Discussion
Hello,
Thanks for the update and quick reply. I'll be sure to keep an eye on this thread. Looking for the same issue. Bumped into your thread. Thanks for creating it. Looking forward for solution.
hi Michael
I used try catch to solve this problem...
I don't think it is a proper solution
But it can be a reference...
try
{
top.relationships.iframesCollection[tabID].contentWindow.location.reload();
}
catch (parent)
{
}
- Gopikrishnan5 years agoIdeator I
Hi
You can use below method to refresh particular tab
if(aras.getMostTopWindowWithAras(window).frames.relationships)
{
var iFramesCollection = aras.getMostTopWindowWithAras(window).frames.relationships.iframesCollection;
for (var tabId in iFramesCollection)
{
var relshipTypeNd = aras.getRelationshipType(tabId);
var relshipTypeName = aras.getItemProperty(relshipTypeNd.node, "name");
if(relshipTypeName === "SignOffs")
{
iFramesCollection[tabId].contentWindow.location.reload();
}
}
}