Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Add N:1-relation to entity

Posted on by Microsoft Employee

Sorry, i am a new user. How can I add a new N:1-relation to the attachment entity?  I want to insert a section with attachments to my contactform.

*This post is locked for comments

  • Verified answer
    Wayne Walton Profile Picture
    Wayne Walton 13,726 on at
    RE: Add N:1-relation to entity

    No, that's bog standard.  I think you will have to set up IFD if you're doing a hybrid deployment, but other than that it's strictly out of the box.

    technet.microsoft.com/.../mt171421.aspx

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Add N:1-relation to entity

    @ Wayne thanks for your interesting idea. We have CRM on premise and sharepoint online. Will that create a problem?

  • Suggested answer
    Wayne Walton Profile Picture
    Wayne Walton 13,726 on at
    RE: Add N:1-relation to entity

    You can't do that.  There isn't a separate Attachment entity, it's just a blob on the Notes entity.  So you get all Notes, not jut files.

    What you will need to do is look at the SharePoint integration functionality and store files in a related library.  Then add the document view on your form.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Add N:1-relation to entity

    Thanks, this is where is ended up also. But I can not find a way to add a new N:1 relation. I think, in order to be able to show attachments directly on my contact (or account) form, I need to to add a N:1 relation where the primary entity is contact and the related entity is attachment.

  • Suggested answer
    Shidin Haridas Profile Picture
    Shidin Haridas 3,497 on at
    RE: Add N:1-relation to entity

    Go to Settings -> Customizations -> Customise the system -> Entities

    The entity for Attachments is 'Notes' (see screenshot below)

    02671632.Capture.PNG

    However, the system does not allow you to create any custom relationships with the Notes entity.

  • Suggested answer
    Shahbaaz Ansari Profile Picture
    Shahbaaz Ansari 6,203 on at
    RE: Add N:1-relation to entity

    Please check below link,

    community.dynamics.com/.../269499

    Best Regards,

    Shahbaaz

  • Suggested answer
    Rajkumar Rajaraman Profile Picture
    Rajkumar Rajaraman 18,108 on at
    RE: Add N:1-relation to entity

    Refer this:

    docs.microsoft.com/.../create-and-edit-1n-relationships

    Hope this helps

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans