Forum Discussion
Check the ARAS CUI document for adding the tabs next to CAD Document tab
Thanks, so I found this doc explaining how to add a tab (page 27), however it isn't really clear about how to set the content of the tab. In the example, a new "Tab Element Control" is created and it simply says to set "Additional data" to "{"relTypeId": "159C6D88795B4A86864420863466F728"}" which is the RelationshipType of the Part BOM. I tried to replace this with a "formId" parameter but obviously that didn't work. Where is the syntax and possible parameter of that "Additionnal Data" property described?
- Gopikrishnan4 years agoIdeator I
More tabs here refers to relationship attached to the CAD Documents item type. And relTypeId is the ID of the relationship
- antoined4 years agoIdeator I
So we're not free to decide what could be displayed in these tabs, it can only be relationship?
What I'm trying to achieve is to have two views for a CAD Document, a "Simplified" and an "Advanced" one. I created two forms and I would like the simplified one to be in the first tab, and the advanced one to be in the second tab. Those two forms are only about CAD Document, not other itemtype. The first tab is already displaying a form (the default one) so it should be possible to set the second tab to also do this, no?
- antoined4 years agoIdeator I
So I found out that it is possible to create a cui_Control of type "Form Control" whose Parent property can be set to the "Tab Element Control", and doing that I'm able to have a form displayed in the second tab. However, it still is the default Form for the CAD Document, not the second one (so I now have two tabs with the same content). I guess the "Additional Data" property of the "Form Control" can be used to specify with form to display, but I didn't find the name of the parameter to set in that JSON (I tried, id, itemTypeId, viewId ...). Isn't there a specification somewhere about this Additional Data syntax?