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)

Displaying multiple relationships of Accounts and Contacts as one

(0) ShareShare
ReportReport
Posted on by

Hello,

We have a situation where in our opportunity form, there are multiple relationships between Opportunity and Account and Opportunity and Contact.  This means that each relationship has to be given a separate subgrid and it also means that they are treated separately in third party plugins.
 

For instance an Opportunity may have a Manager (Account) and a Salesperson (Account).  However we’d want them both to be combined.

Can this be done any other way than using a javascript subgrid which 'steals' the values from the other subgrids.   Is there a recommended plugin?

*This post is locked for comments

I have the same question (0)
  • Mamatha Swamy Profile Picture
    5,426 on at

    You cannot do this using a plugin. You'll need to modify the sub-grid filter using script.

    By recommended plugin, if you mean a third party add-on solution for this then I don't think there is one.

  • Suggested answer
    Aileen Gusni Profile Picture
    44,524 on at

    Dbsarab,

    You cannot concatenate two objects in one subgrid in CRM using Plugin.

    Especially if they are two different entities:

    social.microsoft.com/.../crm-2011-adding-two-different-entity-type-records-to-the-same-subgrid

    But, since in your case they are same type of entity, that is Account, then yes, you can achieve it if only by updating the fetch xml.

    So, the concept here is you need also to get the list of the Account as Salesperson then add in the value using operator IN in the Manager fetch xml.

    Example here to update the xml:

    blog.navantis.com/crm-2011-creating-a-view-to-display-all-child-entities-for-a-hierarchy

    Hope this helps.

    Thanks.

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