Hey João,
You can add the reverse() function to Xpath. It is normally used after the association and is enclosed in [ ].
You can also see a video from the guy from the comment above (Mike Kumpf :D) where he explain how it works
Doc here:
https://docs.mendix.com/refguide/query-over/
You can also see:
https://community.mendix.com/link/space/academy/questions/128518
I hope it helps!
Joao,
For this, you can use the reversed() operator in XPath. Documentation can be found here: https://docs.mendix.com/refguide/query-over/
Hope that helps,
Mike
Hi João Rafael,
To retrieve the parent from the child, you can just use reversed() in the xpath.
It will reverse the direction of retrieving/ reading the xpath condition.
To get a clear idea on all that context, you can go through this simple lecture