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 :
Service | Customer Service, Contact Center, Fie...
Answered

Sub grid for a sub grid

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Experts...

Is it possible for me to nest entities via sub grids in a single form?

I'm having a scenario where a case has a 1 to many relationship with 'custom entity B'.

Entity B has a 1 to many relationship with 'custom entity C'.

I'd like my cases form to have a sub grid showing related records from entity B - that bit is easy.

Can I also add another sub grid on the form, such that when a user selects a record in the entity B sub-grid, I then see its child records from entity C in another subgrid? 

It seems like a straightforward requirement but I couldn't see how to do it! Any guidance, out of the box forms I could reference where this is standard behaviour, any blogs/walk throughs you can point me at?

Thanks!

I have the same question (0)
  • Verified answer
    LeoAlt Profile Picture
    16,331 Moderator on at

    Hi partner,

    There is an OOB way to show nest entity records in subgrid.

    For example,  I have a contact subgrid in my account form, and I want to show each contact's case in the account form also, I should do the following steps.

    1.Open the Account form editor, add an editable contact subgrid.

    pastedimage1586225775316v1.png

    2.In the editbale grid properties, we should configure the nested grid view.

    Select the child entity and view in "Nested grid view", select the relationship lookup field in "Nested grid parent ID".

    pastedimage1586225855588v2.png

    Save and publish.

    3.Results.

    pastedimage1586226179812v3.png

    Attention that the Nested grid view dose not support classic client, it is only available in phone, tablet and UCI.

    pastedimage1586226275303v4.png

    https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/customize/make-grids-lists-editable-custom-control

    If you still want to show 2 subgrids in a form, you could add an HTML page as web resource in the form and show the related records when select different records in subgrid B. This needs some JS code to do.

    Best Regards,

    Leo

  • Chris Haley Profile Picture
    Microsoft Employee on at

    Thanks Leo!

    I used the nested grid view and it did the job for my POC but it's great to know I could pass this to a pro dev to get a more refined solution if needed.

    Top answer sir :)

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
NeerajPawar Profile Picture

NeerajPawar 31

#2
Robert Bailey Upzoids Profile Picture

Robert Bailey Upzoids 20

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 19 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans