cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AMannan
Level: Powered On

File Attachment Functionality With On Premises SQL Server in PowerApps

Hello everyone,

                          I had a requirement that using On Premises SQL server i want the attachment functionality in PowerApps edit form so that i can attach any file such as Pdf,Word,excel etc and stored it in SQL table and display against the same record whenever i browse the app.

After doing alot of research i didn't find a way to do this except for storing and displaying image as it is the only supported feature with On premises SQL server. I also found that Sharepoint has a functionality to attach any file with records and it can also integrate with powerapps but i want to use both SQL and Sharepoint in the app.

Is it possible to save file on Sharepoint and its public URL in SQL table record so that whenever i open the app and browse for that record considering sql as datasource, it should load the attachment from sharepoint through that public URL?

10 REPLIES 10
Community Support Team
Community Support Team

Re: File Attachment Functionality With On Premises SQL Server in PowerApps

Hi @AMannan,

 

Do you want to save files into your SQL table using PowerApps app?

 

If you want to save attachments to your SharePoint list, please check the following blog:

https://powerapps.microsoft.com/en-us/blog/add-attachments-to-sharepoint-lists/

 

In addition, if you want to upload files into your SQL table, please check and see if the following blog would help in your scenario:

https://powerapps.microsoft.com/en-us/blog/upload-files-from-powerapps-to-sql-server/

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
AMannan
Level: Powered On

Re: File Attachment Functionality With On Premises SQL Server in PowerApps

I had already checked the second link provided by you, its not helpful in my scenario. I want to save and retrive files from SQL server into PowerApps which is not currently happening as most of the PowerApps user has reported the same issue on the post.

RustyNails
Level: Powered On

Re: File Attachment Functionality With On Premises SQL Server in PowerApps

I have similar requirement. I need to upload as well as retrieve files from SQL Server database. What are the steps to do this in PowerApps?

AthenaDepper
Level: Powered On

Re: File Attachment Functionality With On Premises SQL Server in PowerApps

Any update on this? I am also looking for similar functions.

atte
Level: Powered On

Re: File Attachment Functionality With On Premises SQL Server in PowerApps

I also would need to retrieve files from on-premises sql to PowerApps. Any tips how to do it with current version or is there some new functionality expected?

Administrator
Administrator

Re: File Attachment Functionality With On Premises SQL Server in PowerApps

adding in @GregLi to review and assist

 

@TopShelf-MSFT

pepeday
Level: Powered On

Re: File Attachment Functionality With On Premises SQL Server in PowerApps

One more for retrieving / uploading files to SQL server in Powerapps.

Super User
Super User

Re: File Attachment Functionality With On Premises SQL Server in PowerApps

SQL is the slowest possible solution for storing files. You should really consider Azure Blob Storage. 😀 https://youtu.be/wF0MmiaGO_o
Shane - Microsoft MVP, YouTube, and PowerApps Consulting for when you are in a bind to get this fixed quickly. And finally we now have PowerApps Training
AthenaDepper
Level: Powered On

Re: File Attachment Functionality With On Premises SQL Server in PowerApps

On I know, I was looking for an intermediate fix, but now we are going to use Yardly and Sharepoint in conjunction with PowerApps.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 362 members 5,924 guests
Please welcome our newest community members: