Skip to main content

Notifications

Community site session details

Community site session details

Session Id : JiCn3nAuwL5zQLAHf88+Cr
Power Pages - General Discussions
Unanswered

How to do I add upload button without form?

Like (0) ShareShare
ReportReport
Posted on 21 Nov 2023 10:06:44 by
Categories:
  • Fubar Profile Picture
    7,854 Super User 2025 Season 1 on 21 Nov 2023 at 23:41:32
    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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Pages - General Discussions

#1
WarrenBelz Profile Picture

WarrenBelz 4 Most Valuable Professional

#2
Rondel Profile Picture

Rondel 2

#2
GB-07080941-0 Profile Picture

GB-07080941-0 2

Overall leaderboard
Loading started
Loading complete