Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Subgrid on Opportunities for a custom entity that is related to Contacts

(0) ShareShare
ReportReport
Posted on by

Hi guys,

You have been a massive help in getting our CRM moving, I just want to start by saying thanks for all your help so far.

I've created a custom entity for recording different types of notes, this is linked to accounts and contacts, but I now need to link this to Opportunities and am scratching my head. What we need is to go onto an Opportunity and (ideally) have a subgrid that shows the custom entity notes relating to the Contact or Account that is linked to the opportunity.

For example, an Opportunity is raised against Contact1, contact1 already has related records such as Biography, relationship to business etc, we need to be able to load the opportunity and see Contact1's records in a subgrid.

I can see how to do this in SSRS easily enough but am hitting a wall doing it on the form.

Your assistance, as always, is greatly appreciated!

*This post is locked for comments

  • Community Member Profile Picture
    on at
    RE: Subgrid on Opportunities for a custom entity that is related to Contacts

    Thanks Mahender, do you have anything on how I could write the plugin? (Never done it!)

  • Suggested answer
    Mahendar Pal Profile Picture
    45,095 on at
    RE: Subgrid on Opportunities for a custom entity that is related to Contacts

    Hi,

    You can put the subgrid on the opportunity to show your entity record, you need to write a plugin to filter it based on the account/contact lookup (there is no supported way of doing it from client side code) so this should help you:

    missdynamicscrm.blogspot.com.au/.../filter-lookup-field-by-related-subgrid-crm-2011-2013.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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,013 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans