Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Unanswered

N:1 Relationship between Letter Activity Entity and Attachments entity

Posted on by 25

Hi

I am trying to add an attachment sub-grid to the Letter Activity Entity form.

I would like attachments for 'only related records' to show. However, the Attachments Entity is not available as a data source when the 'only related records' option is selected.

I think it may be because there isn't a relationship between the Letter Activity and the Attachments entity.

However, when I attempt to create a relationship between the two entities, the Attachments Entity is not showing up in the 'Related Entity' drop down to create the relationship.

How can I create a relationship between the Letter Entity and the Attachments entity?

There are existing relationship between the Appointments entity and Attachments entity, and also the Email entity and the Attachments entity - the behaviour type is 'system'.

Many thanks

  • Ray Profile Picture
    Ray 1,479 on at
    RE: N:1 Relationship between Letter Activity Entity and Attachments entity

    If you check about the metadata of Attachment entity, you will find that both "CanBeRelatedEntityInRelationship" and "CanBePrimaryEntityInRelationship" are false, so you can not create any relationship for this entity.

    pastedimage1663637117206v2.png

    If you want some subgrid display related attachments, you may need to do it by HTML/Webresource.

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,558 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,647 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans