AngelaIp
7 years agoIdeator I
Get tab labels of visible relationships in a Form
Hi Community,
does anybody know a simple way to get the tab labels of the visible relationships in a Form?
I know that we can use the following code: --> var tabbar = parent.relationships.relTab...
- 7 years ago
Here is how to get the hidden tabs (id and label). It can probably be used to remove the elements from the array of all relationships (unless there is no better way)
var tabbar = parent.relationships.relTabbar;
var hidden_tabs = tabbar._hiddentabs;
var len = hidden_tabs.length;for (i=0;i<len;i++)
{
var hidden_tab_id = hidden_tabs.tabID;
var hidden_tab_title = hidden_tabs.title;
}