Tree view in main grid

Hi there, I'm currently fumbling around with SP12 and am trying to get a tree grid view to display on the main grid instead of a relationship grid. For instance, I'd want to display all my Part BOMs in the main grid to allow users to manually browse through them. A next step would be to show both Part BOMs and Part Documents so users can navigate through the Part structure to find the Document item they want to work on/review etc. I manage to get the grid up and running in relationship grids using the Tree Grid View and Query builder but can't seem to get it to work in the main grid. To make things easier, our Part items have an "is_top" property to define whether or not the item is the top item in its respective Part BOM, so to gather the top elements for each Part BOM one just has to look for elements where the "is_top" property is set to 1. From there, the rest of each tree can be added.
Parents
  • Hello, There is indeed an easy way to get an entire tree! You can check out this blog post and look for the section that covers the Reuse Query Element Definition action. This will allow you to very easily build a recursive query that searches the entire way down an item structure while requiring you to only specify one level of it. Chris
    Christopher Gillis Aras Labs Software Engineer
Reply
  • Hello, There is indeed an easy way to get an entire tree! You can check out this blog post and look for the section that covers the Reuse Query Element Definition action. This will allow you to very easily build a recursive query that searches the entire way down an item structure while requiring you to only specify one level of it. Chris
    Christopher Gillis Aras Labs Software Engineer
Children
No Data