This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Call hidetabs from menubar via javascript?

newcomer - Friday, July 27, 2012 8:16 AM:

Hi all,

is it possible to call the function behind the hide tabs button from the menu bar of a form in a js method?

I know how to hide tabs(document "How to hide Relationship Tabs based on Business Logic" from aras) but this solution will not fix my problem.

 

Greets

 

edit: I found something:

top.tearoff_menu.onClickMenuItem("save_unlock_close");

When I do this function call in a javascript(event onFormPopulated) an error will be thrown "top.tearoff_menu.onClickMenuItem is null or not an object".

Is this function still available?



newcomer - Monday, July 30, 2012 4:32 AM:

We found a solution:

http://www.aras.comhttp://www.aras.com/Community/blogs/aras_innovator_technology/archive/2012/06/28/tech-tip-thursday-how-to-customize-aras-plm-software-form-size.aspx

 

Set frame height of the relationship frame to 0.