X-Path with Multiple Association

0
Under the DataGrid, the Data Source is ExpenseRequest.  With the above Domain Model, I would like to use the X-Path Constraint to find out the Project Manager = '[%CurrentUser%]'. As there are Multiple Association (Nest Structure), I don’t know how to set the X-Path Constraint.       
asked
1 answers
2

Hey Wilson,

For retrieving the owner of the object, you have to make sure that  ' store the owner ' option is checked in the entity. 

Then while retrieving the data us the constraint,

[System.owner='[%CurrentUser%]']

Pls refer to the following doc also, for the manager to see their own data.

https://docs.mendix.com/refguide/access-rules/

If I am confused in your question, please let me know.

 

Hope it helps!

 

answered