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 / How do I upload a file...
Power Pages
Suggested Answer

How do I upload a file using a button in Power Pages to an on-premise SQL Server?

(0) ShareShare
ReportReport
Posted on by 2

Hi,

I've been trying to create a button that would allow the end user to select a document (Excel, Word, and PDF files) and - when clicked - upload directly to our server through the data connection we have added in the "data" tab. This means no temporary storage in dataverse and unfortunately no cloud-based storage.

Any ideas?

Categories:
I have the same question (0)
  • Suggested answer
    sannavajjala87 Profile Picture
    931 Super User 2026 Season 2 on at
    Hi,
     
    If your server exposes an API that supports file uploads, you can do this without storing the file in Dataverse or cloud storage.
    A typical approach is:
    • Use an Attachments control or file picker in Power Apps.
    • Capture the selected file's content.
    • Send the file directly to your server through a custom connector or API endpoint.
    • Have the server save the file immediately.
    The main question is whether your existing data connection supports binary/file uploads. If it only supports reading and writing records, you'll need a custom connector or API specifically designed to receive file content.
    So yes, it's possible, but the upload target must expose a file upload endpoint. In most cases, a custom connector calling your server's REST API is the cleanest solution for direct uploads without temporary storage in Dataverse, SharePoint, or other cloud repositories.
     
    Thanks & Regards,
    Manoj Annavajjala

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 33 Super User 2026 Season 1

#2
Mohsin Ali Profile Picture

Mohsin Ali 25

#3
SP2019admin Profile Picture

SP2019admin 20

Last 30 days Overall leaderboard