web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Sub grids and related records

(0) ShareShare
ReportReport
Posted on by

On my Project form, I have a sub grid to enter related "Ownership" records.  

pastedimage1676641226093v1.png

From the the project form, there is a button that creates a legal request and i would like to add a sub grid that contains the related ownership records of that project on the Request form:

pastedimage1676641360425v2.png

The issue i am having is, when adding the related Ownership sub grid on the Request form, there are no records showing at all.  Is there a way to populate this data with another view?

I have the same question (0)
  • Suggested answer
    ThomasN Profile Picture
    3,190 on at

    Hello, thanks for reaching out.

    The ownership has a lookup to project and that is why on the project you can see a subgrid of ownership records. The ownership also has a lookup to request and that is why you create a subgrid on Requests for ownership records. However, the issue you need to solve is the multiple ownership records related to a project showing related to the New Request. I hope I am summarizing the issue correctly.

    If this is the issue you would need to solve this with Power Automate Flow.

    1. Trigger on add of row for Request records
    2. Add Condition to validate the project lookup on request is not equal to null
    3. If false (equal to null) then add control to terminate - cancel flow
    4. If True do the following
    5. Next action List rows for Ownership records
      1. Add Filter - _new_projectfieldonowner_value eq 'ProjectId from trigger Request'
      2. Replace "new" with whatever your prefix is for the solution
      3. Replace projectfieldonowner with the logical name of the lookup field for project on the owner record
      4. Replace ProjectId from trigger Request with the dynamic content for the project lookup field on the request that triggered the flow
    6. Next action Update Row by Id for Ownership records
      1. use dynamic content to filter by List rows output for ownership record unique identifier. 
      2. This will put this action in a for each loop automatically
      3. Update the request lookup field on the ownership record with the dynamic content of the Request unique identifier from the request record that triggered the flow

    This flow will get a list of ownership records related to the same project on the request record. Then it will iterate through each of them updating the request lookup. Now your subgrid on request will show all the ownership records related to the project the request originated from. 

    Good luck!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 122

#2
CP04-islander Profile Picture

CP04-islander 57

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 57 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans