cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Collecting data from an HTML form and using it to populate a CDS entity

So I've built a PowerApps Portal and I've also created, separately, an HTML form that I wish to integrate into the portal and have users complete it and collect data.

 

My question is how can I collect the data the users put in and use it to populate a Common Data Service entity?

 

My first thought was using a Power Automate flow triggered by When a HTTP request is received, but I'm not exactly sure where and how to begin.

 

Any help would be greatly appreciated, thanks! 😄

3 REPLIES 3
Super User II
Super User II

Hi, when you say HTML page "separately", do you mean just a custom HTML page in the Portals or on a separate website?

 

If just a custom web page in the Portals - I would recommend using the new (currently in preview) Portals Web API, a few links that might help you:

http://oliverrodrigues365.com/2020/10/06/power-apps-portals-going-beyond-with-portals-using-web-api/

https://docs.microsoft.com/en-us/powerapps/maker/portals/web-api-overview

https://www.dancingwithcrm.com/powerapps-portal-web-api-deep-dive/


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

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.




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.

Power Apps Portals Super User


Oliver Rodrigues


 

The former. It's an HTML code for a form that I want to integrate inside the portal. So yeah, custom.

 

Thank you for the links, but I don't seem to understand the flow of work here. Is there any other direction or example you could point me towards?

 

Thanks!

Hi @Shifty011 

This would be the flow, let me know if it makes sense:

 

  1. Design your entity definitions in the CDS (create fields / forms / etc)
  2. Design your custom HTML Page
    • custom web page
    • associated custom page template
    • associated with custom web template
  3. Your Web Template should contain your custom HTML / fields / controls / etc, as well as JS code to call Power Apps Portals Web API



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.

Power Apps Portals Super User


Oliver Rodrigues


 

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Users online (27,752)