Forum Discussion

Former_Member's avatar
Former_Member
Accelerator III
7 years ago

Null Relationships code trigger

I want to use a null relationship tab in Parts to return custom query results from Documents. example:
  • get property from parent form: Parts
  • get Documents where doc.property = parent.property
How would I get this potential code to trigger? Theres no onload grid event for relationship tab. //this.setAttribute("type", "Document"); //this.setProperty("some doc.property", "some parent.property"); //return this.apply();

1 Reply

  • Hello, There's two different standard ways to achieve this functionality.
    1. Create a custom Grid item
      1. Grid items accept a query to load the items within them
      2. You can assign this grid under the Relationship View tab of your RelationshipType
    2. Use Query Builder and Tree Grid View to build a custom view and display it as a relationship of the Part ItemType
    Chris
    Christopher Gillis Aras Labs Software Engineer