I have 2x entities in Dynamics 365 (Customer Asset and Asset Advisory).
There is an N:N relationship between the Entities.
In Dynamics, I currently add an Asset Advisory to a Customer Asset by using a Sub-Grid.
I would like to make a Power App to embed in the Customer Asset Form in Dynamics that will display these Asset Advisories in a better way.
My current thought process is: Get the id of the Customer Asset then filter the Asset Advisories to show only those that are linked to that Customer Asset.
However, so far I'm struggling to work out how I can do that. There doesn't seem to be anything linking the two entities in CDS? Any pointers on how I should tackle this?
Solved! Go to Solution.
If you are using an Embedded app, you will have the context of the parent record and (most) of its fields/relationships.
You can then setup a Gallery/Data Table with [@ModelDrivenFormIntegration].Item.{ManyToManyRelationshipName} as the Items.
This will give you some better options for viewing the records, but will run into limitations for adding the records and accessing the related records (beyond simple fields). Good luck!
If you are using an Embedded app, you will have the context of the parent record and (most) of its fields/relationships.
You can then setup a Gallery/Data Table with [@ModelDrivenFormIntegration].Item.{ManyToManyRelationshipName} as the Items.
This will give you some better options for viewing the records, but will run into limitations for adding the records and accessing the related records (beyond simple fields). Good luck!
That's exactly what I needed, thanks!
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
201 | |
177 | |
62 | |
32 | |
30 |
User | Count |
---|---|
322 | |
266 | |
104 | |
76 | |
56 |