web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Relating an Entity within an Entity

(0) ShareShare
ReportReport
Posted on by

Good afternoon all,

I'm having a brain lapse moment.

Is there a way to relate an entity within another custom entity... i.e. is there a way of creating a sub-grid to see leads relating to a client within an Account Planning custom entity?

Thanks in advance.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    ashlega Profile Picture
    34,477 on at

    Hi,

     not in the supported way. Unsupported might work similar to this:

    community.dynamics.com/.../221757

     But you never know when it stops working..

     Out of the box, you might try using a quick view form(quick view for the "client" where you'll add leads subgrid.. and, then, you can put that quick view on the account planning form)

  • RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    Worth taking a look at this if it helps.

    github.com/.../dcrmeg

  • Rasmus R. Aardal Profile Picture
    on at

    Hello,

    As far as I know you can't show records that are related to a related record in subgrids. The records shown in a subgrid must have a direct relationship to the entity on which they are shown.

    What you can do, however, is set up a custom field on the Lead entity and build a workflow that links the lead directly to the Account's Account Plan, thus allowing you to show all leads related to the Account.

    Come to think of it, a calculated field would do just fine.

    This is given that an Account only has one Account Plan. If the relationship is 1:N or N:N from Account to Account Plan, it quickly becomes more troublesome.

    Regards,

    Rasmus

  • Community Member Profile Picture
    on at

    Unfortunately, an account has multiple account plans !!

  • Community Member Profile Picture
    on at

    Thanks a lot for all your responses... I'll have to try and find a way myself and if I do, I'll post the results !

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans