Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Can a relationship between Contacts and Products be created?

Posted on by 79

Hi all,

Just a simple question: can I create a N:1 relationship between Products and Contacts?

I would like to add products that Contacts express interest on, so I can target them with specific campaigns.

  • LuHao Profile Picture
    LuHao 40,872 on at
    RE: Can a relationship between Contacts and Products be created?

    Hi partner,

    Has your problem been solved?

    Please don't forget to click Yes under "Did this answer your question?" to close this thread.

    Thanks.

  • Suggested answer
    LuHao Profile Picture
    LuHao 40,872 on at
    RE: Can a relationship between Contacts and Products be created?

    Hi barbieruelas,

    Agree with Andrew.

    I would recommend you create N:N relationship instead of 1:N.

    If you create a N:1 relationship, then each product will have a lookup field of contact, and one lookup field can store only one record. In other words, only one contact can be associated with a product.

    In actual business, a product is associated with multiple contacts. So we should create an N:N relationship.

    Go to Advanced Settings > Customizations > Customize the System, expand Entities > Contact > N:N relationships, new.

    pastedimage1599040257704v1.png

    pastedimage1599040285040v2.png

    Select Entity Name of Other Entity to Product. Then select Display Option to Use Plural Name. Save.

    pastedimage1599040384429v3.png

    Edit the Contact main form and Product main form, insert a sub-grid of this N:N relationship.

    pastedimage1599040511158v4.png    pastedimage1599040547322v5.png

    pastedimage1599040642025v6.png    pastedimage1599040669702v7.png

    To associate contacts and products, just click the Add Existing button in the new sub-grid.

    pastedimage1599040798246v8.png

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Can a relationship between Contacts and Products be created?

    Hello,

    General answer - yes, you can create that relationship but this is not what you really need because... one contact can be interested in multiple products and the same time multiple contacts can be interested in the same product so... N:1 relationship doesn't solve your requirement but either native or manual N:N relationship solves that requirement - www.techveze.com/.../

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans