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 CRM (Archived)

Child record count as a link to the child entity form filtered by parent record

(0) ShareShare
ReportReport
Posted on by 805

Hello,

I have the following case:

Parent and child entities. The parent should have a field (physical or calculated) containing the number of the related child records.

The goal is the counter field to be used as a link (to open child entity form), so the child records to be shown. In other words when the user clicks on the parent field value (i.e. 10 as a number of child records) a child entity form/view to be shown visualizing all related child records.

So, what is the best way to achieve this? What should be the field (physical or calculated)?

Regards,

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    There is no standard/supported way to achieve/add a click even on field i.e on click of field opena screen). The best option you have is to create an html web resource which counts the child record and display it as a link. And then on click of that link displays those records in a gris. But all this is not simple to build so you need to identify if this requirement is worth this effort or not.

    Here are few links which can help you-

    crmbook.powerobjects.com/.../html-web-resources

    msdynamicscrmblog.wordpress.com/.../build-dynamic-html-table-and-display-on-entity-form-using-javascript-and-html-web-resource-in-dynamics-crm-2011

    community.dynamics.com/.../188355

    community.dynamics.com/.../186316

    Hope this helps.

  • Suggested answer
    Sreevalli Profile Picture
    3,264 on at

    Hi,

    How about adding subgrid on to the form and displaying the grid on the button(next to field) click?

    Check out below post to know how to add button next to field.

    community.dynamics.com/.../257055

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 CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans