Can anyone point me to an example of populating a D365 form using Web API to get data from a related entity. The data is two relationships away so not N:1
Thanks G
*This post is locked for comments
Hi,
As long as you have the data to identify/ select the record, you can use web api. I would suggest to download & use Rest Builder tool-
carldesouza.com/dynamics-crm-rest-builder
Hope this helps.
Yes you can do it.
Create a HTML web resource and add all fields that you want to show.
Hi,
You can use the openForm method: docs.microsoft.com/.../openform and configure a N to 1 relationship between your entity and the entity from where you want to pull the data and configure mappings - see itsolutions.bdo.ca/.../using-field-mapping-in-microsoft-dynamics-crm-to-copy-data-between-associated-records to understand how this works.
Within the openForm method, you can set the createFromEntity parameter. This will will provide default values based on mapped attribute values.
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,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156