You can get the requirement to lookup multiple entities and do something with the selected lookup values. Well search no more, the Xrm.Utility.lookupObjects() Api method would meet such requirement .
I have loaded the below code to trigger on the change of a field. The lookup entities in the below is Contact and Account (it could be a custom field).
Continue reading “Multiselect entities in a lookup control using Xrm.Utility.lookupObjects()”