locked
Connection lookup or 1:N relationship in Connection entity RRS feed

  • Question

  • Hi All,

    I have a custom entity called CE, and I am trying to create a lookup field on it. This lookup field needs to be of Connection entity. However, it seems when creating a lookup, the entity dropdown does not list Connection. On further investigation I found that Connnection entity does not allow 1:N relationships. So it explains why a lookup of Connection cannot be created. Is this correct? Any alternatives if I have to display a Connection lookup on my CE form?

    Regards,

    Yogi

    Thursday, November 26, 2015 3:49 PM

Answers

  • There's nothing you can do to change this - this is a restriction imposed by CRM.

    I don't think there's an easy workaround, though you could consider:

    • Not use Connections, but instead use a custom entity.
    • Create another custom entity (CE2) that can link to CE, and to one of the entities in the Connection. Make the Connection with CE2 - this should leave all records connected, but may be messy to use in the UI

    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Thursday, November 26, 2015 4:07 PM
    Moderator