Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - General Discussions
Unanswered

How to do I add upload button without form?

(0) ShareShare
ReportReport
Posted on by
Categories:
  • Fubar Profile Picture
    7,960 Super User 2025 Season 1 on at
    Re: How to do I add upload button without form?

    Generally you'll need an input of type file, and then either a button or link to call  JavaScript and use the Portals Web API to upload it to a Notes record (or alternatively a file field on a specific record)

    See the following links (for the last link read the whole post not just the tagged solution)

    https://learn.microsoft.com/en-us/power-pages/configure/write-update-delete-operations#prerequisites

    https://learn.microsoft.com/en-us/power-pages/configure/write-update-delete-operations#sample-json-for-creating-an-annotation-via-the-web-api

    https://learn.microsoft.com/en-us/power-pages/configure/write-update-delete-operations#wrapper-ajax-function

     

    https://powerusers.microsoft.com/t5/Power-Apps-Portals/Upload-a-file-using-quot-Portals-Web-API-quot-to-a-quot-File/td-p/1495783

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 69 Super User 2025 Season 1

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 49 Most Valuable Professional

#3
Jon Unzueta Profile Picture

Jon Unzueta 43