Hi,
i am wondering if there is a way to create a lookup in a form that display the list of all entities and attach this field to a form in model driven app.
Can someone tell me what entity should i select while creation the lookup ?
Thank you.
Hi,
i am wondering if there is a way to create a lookup in a form that display the list of all entities and attach this field to a form in model driven app.
Can someone tell me what entity should i select while creation the lookup ?
Thank you.
Hi Saad,
A lookup field could be only set with one entity, but you can create a web resource and embed it on form to display the list of all entities by retrieving all entities with javascript.(querying metadata using web api.)
Web API expression to run:
https://org.crm.dynamics.com/api/data/v9.1/EntityDefinitions?$select=DisplayName
This thread has given a web resource, which you could take it as reference:
I tested it in my environment: (remember to replace its origin jquery library src with your owns.)
You can extend it with your business logic.
Regards,
Clofly
Siv Sagar
149
Super User 2025 Season 1
Daivat Vartak (v-9d...
53
Super User 2025 Season 1
Vahid Ghafarpour
32
Super User 2025 Season 1