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)

How to setup Parent and Child record associations inside same entity

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

So I have two account forms:

- account organization: a form for the organization 

- account site: a form for all of the organization's sites/branches 

I need to setup a block/section in the account - organization form that displays all the sites under the organization. For that I would need to setup a relation between organization and site.

How can I setup this kind of relationship that for each unique organization, I can see the related sites?

Also what kind of block do I need to insert in form to show the sites (subgrids?)?

Thanks in advance. 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Mahendar Pal Profile Picture
    45,095 on at

    Hi,

    You can setup 1:N relationship between organizatin and site, and can put site subgrid on organization form to show list of the site associated with this organization.

    Thanks

  • Community Member Profile Picture
    on at

    Would I setup a 1:N relationship between the org and site forms? or some field?

    Because at the moment I only have one field "account name" which is used across both forms.

    Also if I used two fields (one for org and one for site) then in the account views, I wouldn't be able to list all the accounts properly...

  • Mahendar Pal Profile Picture
    45,095 on at

    you will use 1:N relationship, which will add a lookup field in site (it will be primary field only, so account name).

    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

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