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)

Add attribute to N:N relationship

(0) ShareShare
ReportReport
Posted on by

Hello, I have the following problem with CRM Dynamics 2013:

Consider the Lead entity and a custom entity called "Preferred Language" (with just a "name" attribute).

The situation is that one Lead can have multiple Preferred Languages, and a Language can be shared by multiple Leads. Hence, I set up an N:N relationship.

But there is more: a Lead can be linked to a Language with a optional "Knowledge Level" (see http://en.wikipedia.org/wiki/Common_European_Framework_of_Reference_for_Languages). For example, the lead John has English as preferred language with a C1 level.

In a common SQL environment, I would add this attribute to the NN relationship itself. So the dedicated table will be composed by three columns: Lead ID, Language ID and Level.

How can I achieve this on the CRM 2013? I was looking for a "fields" section in the Relationship editor, but I can't find anything.

Thanks for the support.

*This post is locked for comments

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

    Hello,

    You can't add a custom attribute in system n:n relationship, if you want custom field you need to setup a manual n:n relationship by creating an another intermediate entity.

    Check this community.dynamics.com/.../many-to-many-relationships-of-the-manual-kind.aspx it will help you to setup it. This is for older version but concept is same for 2013 as well

  • Community Member Profile Picture
    on at

    Ok, thanks

  • Community Member Profile Picture
    on at

    As Mahendar suggests, a custom entity such as "Language Knowledge" could have a lookup to Lead, another lookup to "Language" and an option set for "Level". This entity should be pretty minimalist, with no activities, notes etc, and likely should be Organisation-owned, rather then user/team.

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