Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Display subgrid with information from a related entity

Posted on by 5

I'm not sure how to frame my question, so here is what I am trying to accomplish:

Entities in use:

Account (default Account table in Dynamics)

Health Center (custom object)

Policy (custom object)

Plan (custom object) 

Relationships:

(1N) Account can have one or more Health Centers

(1N) Account can have one or more Policies

(1N) Policy can have one or more Plans

Put another way, when working on a Plan, it will relate to a single Policy and that Policy will relate to a single Account, and that Account can have many Health Centers associated with it.

On the Plan form I would like to create a subgrid of all Health Centers associated with the Account.

On that subgrid, I would like to display Health Center fields like Name, Address, Office Hours, Phone Numbers, etc.

How can I create that subgrid, and what fields and relationships need to be created to allow for that?

  • Verified answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: Display subgrid with information from a related entity

    Hi,

    Using out of the box options you can show Health Center subgrid till Policy form using Quick view of the Account where you have that subgrid actually.

    But if you want it in Plan you have to develop custom grid, you can develop html grid or can use some other client side framework to develop it where you can have your webapi request to get data based on the relationship hierarchy.  You can also try to build a canvas app.

    Some refernece

    balugajjala.wordpress.com/.../

    community.dynamics.com/.../1050037

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans