Issue with Displaying Address Attributes in Enterprise Overview Data Grid

0
Dear Mendix specialists, I'm encountering an issue where I can't read address attributes in the enterprise overview form (Data Grid2). Additionally, the address properties can't be associated in the new enterprise interface. The relationship between entities is: One enterprise can have multiple addresses One address belongs to only one enterprise (Many-to-one relationship with address pointing to enterprise) What I tried:Added a column in the enterprise overview Data Grid, dragged in a list view associated with the address entity. However, it throws an error stating the new column has no attributes. Since I need filtering and sorting functionality in Data Grid2, but these features require columns to have attributes. Question:How can I solve this problem? Are there any workarounds to display and filter/sort address information in the enterprise overview grid? I would greatly appreciate any suggestions!
asked
3 answers
0

Datagrid2 is not intended for having an Listview in its columns, so I would advise against that. Alternatively you can (or should) use a Gallery, and include a Listview in there. This will get you the view you want.

And just doublechecking: you do have read-write-access rights on association Address_Company.

answered
0

Two tips, hope they get you closer to the solution: 

  • Make sure you have read-write access to association Address_Company in entity Company.
  • Right-click entity Company and select 'Generate overviewpages'. See if this gets you a datagrid 2 with the Address-column.
answered
0

Can I proceed this way: Create a 'Company Overview' page and a 'Company Edit' page but select the 'Address' entity as the data source? What are the potential risks of this approach?

answered