Client-side JavaScript using Web API in model-driven apps

Note

Effective November 2020:

  • Common Data Service has been renamed to Microsoft Dataverse. Learn more
  • Some terminology in Microsoft Dataverse has been updated. For example, entity is now table and field is now column. Learn more

This article will be updated soon to reflect the latest terminology.

In HTML web resources, form scripts, or ribbon commands in model-driven apps, you can use JavaScript to perform operations on Microsoft Dataverse data using the Web API. Use the Xrm.WebApi client API methods to use Web API with JavaScript and web resources.

See also

Apply business logic using client scripting
Customize commands and ribbon
Web resources

Note

Can you tell us about your documentation language preferences? Take a short survey.

The survey will take about seven minutes. No personal data is collected (privacy statement).