Calling Dataverse Actions and Functions from Power Apps Code Apps


The article explains a new developer experience introduced by Microsoft for building Power Apps code apps that tap directly into Dataverse to activate business logic smoothly. Previously, developers had to manually handle API calls and processes, which were challenging and error-prone. Now, using the Power Apps npm CLI with commands like `find-dataverse-api` and `add-dataverse-api`, developers can effortlessly generate fully typed TypeScript service classes. This is particularly useful in scenarios like automating case routing for customer support, where actions such as PickFromQueue and WhoAmI are utilized. The article outlines a practical example in Dynamics 365 by automating the assignment of support cases, thus optimizing agent work and enhancing operational efficiency. The new feature significantly reduces development time by eliminating the need to handwrite API calls, allowing developers to concentrate on enhancing user experience.


Article 3w

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