Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Display correlated records in CRM 2015 based on a field in the same entity

Posted on by Microsoft Employee

Can someone please let me know how to show related records with in the same entity based on a field value. FieldX contains integer/numeric data. If both the records have with in the same field value, I would like to see a related/correlated record when either of these cases are loaded. I will be displaying this as a tab on the form.

I know this is possible thru XRM and writing some javascript but, if there is another alternative please let me know. Basically I need to know how to display on a dynamic view in CRM.

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Display correlated records in CRM 2015 based on a field in the same entity

    Hi Naveen816,

    Outside of the possibilities you mentioned, there is no default out-of-the-box way to filter a sub-grid based on a field value. The only way to influence form attributes is through business rules, roll-up and calculated fields and workflows. None of these can affect the sub-grid values that are shown as the view is set by default on the form customization.

    That being said, the Jscript solution I can find that will assist you is unsupported due to "getElementById": mahadeomatre.blogspot.com/.../dynamically-filter-form-sub-grid-to.html

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans