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

Community site session details

Session Id : wiQh8WqdlqnKmPet2603cc
Power Pages - Power Apps Portals
Unanswered

Update Dynamics 365 record using code from Power Apps Portal

Like (0) ShareShare
ReportReport
Posted on 26 May 2020 10:37:50 by 1,510

Hi,

 

I want to update a record on click of custom button from home page. How can we update specific record in Dynamics 365 using code?

I have the same question (0)
  • oliver.rodrigues Profile Picture
    9,342 Most Valuable Professional on 26 May 2020 at 11:32:13
    Re: Update Dynamics 365 record using code from Power Apps Portal

    Hi, at this moment we don't have a feature to perform an operation against D365 directly through the Portal

     

    the good news is.. this is on the roadmap and should be available (in preview) somewhere around June 2020

    what we know at this moment is that it will be an API (similar to the D365 Web API) with operations to Create/Update/Delete records at a first stage, and later on they would add additional methods such as calling actions etc

     

    if you can't wait until this is available there are alternatives

    1 - what exactly do you need to be updated? perhaps you could have an entity form embedded in the home page with very simple fields?

    2 - use a companion app, basically you can have your custom API hosted (preferably) on Azure and do whatever you want there:

    https://www.engineeredcode.com/blog/dynamics-365-portal-custom-server-side-code-with-a-companion-app

    https://github.com/Adoxio/dynamics-portal-companion-app

    3 - use the portal actions approach: https://community.dynamics.com/365/b/udssystems/posts/https-uds-systems-blog

     

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#2
Lucas001 Profile Picture

Lucas001 48 Super User 2025 Season 2

#3
KevinGador Profile Picture

KevinGador 44 Super User 2025 Season 2