Hi All,
I want to to create a custom field that look up to two different entities e.g The below field is created and its looking up the account and contact entity
Please someone help me out. Thanks
pls look at the above.
Thanks
*This post is locked for comments
From UI when you type/search in lookup all the records from both Account & Contact will be suggested, you can filter by record types + views.
ledgeviewpartners.com/.../dynamics-crm-2016-new-customer-field
From javascript code you have to mention entityType while assigning values.
Hi Arun Vinoth , how does the system know the exact entity to lookup to, since it i looking up both account and contact at the same time ??
Thanks @arun
Customer lookup is a special datatype points to Account or Contact. Microsoft gave us the option to create this special datatype in our entities.
Whereas any other entities cannot be bind with this datatype or similar can be created by us.
If your entity could be a type of activity (custom activity) then "Regarding" lookup is another special attribute can hold multiple entity types in single field. This field can never be created in any entity unless it's a custom activity & system will give the OOB Regarding lookup for you.
Mohamed Amine Mahmoudi
83
Super User 2025 Season 1
Community Member
54
Victor Onyebuchi
6