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. If you want some subgrid display related attachments, you may need to do it by HTML/Webresource.