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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / How to Submit Form Dat...
Power Pages
Suggested Answer

How to Submit Form Data to Dataverse Table Using Web API in Power Pages?

(1) ShareShare
ReportReport
Posted on by 8

Hello Community,

I am building a Power Pages portal and need to submit data from an HTML form into a Dataverse table (mm_Patients). I am a beginner and have no prior experience with Web APIs. I need help understanding how I can send data from a form to Dataverse via its Web API.

Here are the steps I have already taken:

  1. Created a form where users can input their details like name, email, phone number, etc.

  2. I want to submit this data to the Dataverse table (mm_Patients) when the user clicks the Submit button.

  3. I have heard that I need to use the Dataverse Web API to send the data but I'm unsure how to proceed with authentication and data submission.

What I need help with:

  • How can I authenticate and get an access token to communicate with Dataverse using the Web API?

  • How can I make a POST request to the Dataverse API to add the form data to the mm_Patients table?

  • Are there any examples or documentation for submitting form data to Dataverse using JavaScript and Web API?

Any help or guidance would be greatly appreciated. Thank you in advance!

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,414 Super User 2025 Season 2 on at
     
    Are these folks authenticated and have Licenses for Dataverse?
    If not then you cannot it would be against policy. If so, silly question but when you say form do you mean a Dataverse Form, or did you embed some HTML form that is from another site?
     
  • Suggested answer
    oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at
    Hi, no you don't need and shouldn't use Dateverse API
     
    The beauty of Power Pages is to interact with Dataverse data without the need of code. The platform supports forms (basic forms / multistep forms) that allows you to view / submit data without using code.
     
    In addition to that, there is a Portals API that you can use, but that would be for more edge scenarios.
     
    Have you looked into the Microsoft Learns? or community content? there are plenty of videos on Youtube and the official Documentation is also very good
     
  • Suggested answer
    Fubar Profile Picture
    8,352 Super User 2025 Season 2 on at
    As per Oliver's post you generally do not use the Portals Web API for general form submission (it generally used for more advanced or highly customised scenarios).
     
    For a simple form submission
    • Create a Dataverse form with the respective fields
    • In Power Pages create a Basic Form, that uses the Dataverse form, and set the Basic Form to be Insert
    • Add the Basic Form to a Page in your Power Pages Site.
    • Create appropriate Table Permissions and attach them to one or more Web Roles
     
     
     
  • Michael E. Gernaey Profile Picture
    53,414 Super User 2025 Season 2 on at
     
    I am not convinced the author is talking about a power page, which is why i asked if its an embedded HTML page, which in fact would need that.
  • Suggested answer
    oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at
    Hi @Michael E. Gernaey, the author specifically mentions the technology stack, hence our response was focused on that
     
     
    @Fraz_Ahmed Let us know if you need any further assistance or have other specific questions on how to build your forms

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 74 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 55

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard