Showing data from another entity in an overviewpage

0
This is my Domain Model.   I want to show contractnumber and employee name on an overview page of the Accessgate entity.   this is the microflow I am using, why is the contract number not being shown on the overview page?
asked
2 answers
0

Hi Evelien,

 

AccessGate is related to many contracts which is also related towards many employees. Since there is only one accessgate which you will show, you can not list the contracts in a datagrid because that will be a list of multiple objects same with employees. 

 

Depending on the requirements you can resolve this by starting the datagrid with the entity employee from there on you can work towards all the entities you need.

 

Or customize an overview with listviews.

 

Maybe also interesting:

https://academy.mendix.com/link/paths/59/Expand-Your-Domain-Modeling-Skills

answered
0

Hi Evelien,

You can use another way for this,

Use a datagrid2 on the page datasource as contract, and the column where you want to show the employee id, you can use association to show the employeeID to which it is associated to.

let me know, if you need further clarification.

Hope it helps!!

answered