Open Relationship Form instead of Related Item

Hi, I have a question regarding relationship tabs views, e.g. the 'BOM' tab in Part. By default when you doubleclick on a related item, the Form of the related item will show up. I now have one usecase, where I want to show the Form of the Relationship by default. Is this configurable anywhere in the system? A programming solution would be an 'OnShowItem' Event in 'Client Events' that uses the Method already mentioned in this post --> community.aras.com/.../ But maybe I just missed something?  
Parents
  • Hello, This is not configurable from within the database. The best solution for this would be your suggestion of using an 'OnShowItem' event. One thing to note is that this event will be called every time the item is opened whether that is from the main grid or from a relationships grid. You can use the following line of code to determine if the item is being opened from a relationships grid, so that you can display the Relationship instead. if (this.node.parentElement.tagName == "related_id") Chris ______________________________ Christopher Gillis Aras Labs Software Engineer  
Reply
  • Hello, This is not configurable from within the database. The best solution for this would be your suggestion of using an 'OnShowItem' event. One thing to note is that this event will be called every time the item is opened whether that is from the main grid or from a relationships grid. You can use the following line of code to determine if the item is being opened from a relationships grid, so that you can display the Relationship instead. if (this.node.parentElement.tagName == "related_id") Chris ______________________________ Christopher Gillis Aras Labs Software Engineer  
Children
No Data