Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Add more than one contact to a field

Posted on by

I have a new field on the appointment that is a Lookup type. How do I control it to allow the user to add multiple contacts in this same field?

*This post is locked for comments

  • Verified answer
    Dynamics_Alok Profile Picture
    Dynamics_Alok 1,746 on at
    RE: Add more than one contact to a field

    Great analogy but Regarding field is OOB (from Microsoft Team) and MS has all the controls on Base Code.

  • Verified answer
    Gopalan Bhuvanesh Profile Picture
    Gopalan Bhuvanesh 11,397 on at
    RE: Add more than one contact to a field

    That field is Party List data type.

    We cannot choose (it is not available) this data type for our custom fields.

  • RE: Add more than one contact to a field

    Shouldn't this relationship already exist? If The Regarding field in appointment accepts more than one contact then another field of my own design on appointment would do the same, no?

  • Suggested answer
    Gopalan Bhuvanesh Profile Picture
    Gopalan Bhuvanesh 11,397 on at
    RE: Add more than one contact to a field

    You cannot add multiple contacts to a lookup field.

  • Rajkumar Rajaraman Profile Picture
    Rajkumar Rajaraman 18,108 on at
    RE: Add more than one contact to a field

    Refer this thread:

    community.dynamics.com/.../71164

  • Suggested answer
    RE: Add more than one contact to a field

    HI,

    this is not possible with lookup field.

    Either you need to create n-1 relationship between appointment and contacts to set many related records.

    Else create a custom field using webresource which will have be data list containing checkbox with it and on select set contact id in the (hidden)textfield. And when unselecting remove the id from textfield.

    Hope this helps! I'd appreciate if you'd mark this as Answering your question.

    Thanks,

    Swetha

  • Suggested answer
    Dynamics_Alok Profile Picture
    Dynamics_Alok 1,746 on at
    RE: Add more than one contact to a field

    I don't think this is possible in supported way .Lookup field internally create a mapping with guid of associated record and can hold a single value.

    In your scenario ,you should use sub grid of Contact on Appointment.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans