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
Great analogy but Regarding field is OOB (from Microsoft Team) and MS has all the controls on Base Code.
That field is Party List data type.
We cannot choose (it is not available) this data type for our custom fields.
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?
You cannot add multiple contacts to a lookup 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
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156