web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to create field that can hold multiple entity reference?

(0) ShareShare
ReportReport
Posted on by 515

Hello,

In Opportunity entity there is a field named "customerid", Which can hold reference of either Account entity or Contact entity. this is something unusual (but interesting). See document here - https://msdn.microsoft.com/en-us/library/gg328229(v=crm.5).aspx

See field definition in below image : 

0564.Relationship.png

Basically I want to create similar field for my custom Entity that can hold reference of multiple entity reference (more than two entity). How can I achieve it?

Any suggestion greatly appreciated.

thanks,

Ashish

*This post is locked for comments

I have the same question (0)
  • Verified answer
    ashlega Profile Picture
    34,477 on at

    Hi Ashish,

     there used to be no this possibility at all in Dynamics until recently.. It's possible to create a field of "customer" type now. But that's the extent of it. You can't create a custom field that would be able to reference different entities (other than the "customer" field).

  • Community Member Profile Picture
    on at

    Alex is correct, there is no current capability to do this.  

    A similar capability is available on an entity that is an 'Activity' type, in the 'regarding' field.  Would that work for your use case?

  • Suggested answer
    Meena Kannan Profile Picture
    232 on at

    Hi Ashish,

    This feature is not available in MSCRM.

  • roo Profile Picture
    40 on at

    This short post is to deletion (wrong topic answer).

  • Community Member Profile Picture
    on at

    why not using a select-options, a drop down, with multiple selection?

    the list data source can be any entity object, you need only two valued, id and label value.

    in the database, the selected id's can be stored like { 224, 678, 332, 456, 887 }.  

    super easy

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans