Recently in my project I had the requirement to show up a multiselect lookup for selecting records across multiple custom entities. The customer have created a PCF control where they have designed to show the selected records spanning entities. But the issue was to show a lookup control to allow the user to select multiple records spanning entities.
Thankfully there is a method now to do exactly the same using Client API.
The below code shows how to show up a multiselect lookup control from account and contact entity. However you can do the same for all custom entities.
Below is how it looks.
Hope this helps!
For consultation/ corporate training visit www.xrmforyou.com or reach out to us at email@example.com
Our product offerings:
CRM-Sharepoint Attachment uploader and metadata manager (http://www.xrmforyou.com/sharepoint-integrator.html)
Notes Manager (https://debajmecrm.com/2019/02/28/add-metadata-to-your-notes-and-attachments-in-dynamics-notes-metadata-manager-from-xrmforyou-com/)
Role based views for Dynamics 365 (http://www.xrmforyou.com/role-based-views.html)
View original post 41 more words