Dataverse: Create an API to update Base Currency


The article discusses how to create a custom API in Dataverse to update the base currency. The code provided shows how to retrieve the entity metadata and filter for money attributes that can be updated. The plugin then updates the target entity with the existing money attribute. The article also includes JavaScript code to trigger the custom API and create a ribbon button in the CRM interface. The author recommends using the Xrm.WebApi and Dataverse REST Builder tools for executing the API in JavaScript. The article concludes with a demo and instructions on how to deploy the JavaScript file and create the ribbon button.


Article 14m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time