web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Pre populating a d365 form using WEB API

(0) ShareShare
ReportReport
Posted on by 821

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

I have the same question (0)
  • Suggested answer
    Radu Chiribelea Profile Picture
    6,667 on at

    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.

  • Suggested answer
    Dynamics365 Rocker Profile Picture
    7,755 on at

    Yes you can do it.

    Create a HTML web resource and add all fields that you want to show.

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans