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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Best way to interact w...
Power Pages
Answered

Best way to interact with Dataverse

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi!

I'm building the power apps portal with data located in the Dataverse. 

One of the users stories requires a calculations based on the information present in multiple tables of the database. 

I have an html button on the portal page which is calling the JavaScript function. But from this function i need to do some operations on the data and save it to database. I see two options here.

1. Create an API using Powerapps flows, but all actions to get the data and update it requires premium subscription.

2. Build all the logic in JavaScript using datavesrse web API to get the data and to write the data (https://docs.microsoft.com/en-us/powerapps/developer/data-platform/webapi/query-data-web-api), so everything is on the client side, which doesn't seem very secure to me.

 

Is there any other option that I'm missing?

Categories:
I have the same question (0)
  • Verified answer
    Fubar Profile Picture
    8,487 Super User 2026 Season 1 on at

    It really depends on the specifics of what you need to do

    • Structure what you are doing so there is a Submit/Next (e.g. could use a Web Form, or redirect on success) that moves the user to another page and then handle it with realtime workflows or plugins and present the results on the next page; or
    • Build a custom Web Template and load what you need into it (via fetchxml) and populate JavaScript variables etc (this assumes that you don't have a huge amount of other data e.g. static lists); or
    • Use the Portals oAuth 2 Implicit Grant Flow and call it (Ajax) from your page; or
    • Setup an Azure App and call it from your page

     

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 Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
DP_Prabh Profile Picture

DP_Prabh 51

#2
rezarizvii Profile Picture

rezarizvii 35

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 33 Most Valuable Professional

Last 30 days Overall leaderboard