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

Excel Upload and Save in SQL via an API through PowerApps

Hi All,

 

The following is the requirement,

  • User Has to choose an excel file using a Browse File option and click on Upload
  • The excel file can be transferred to an API through a binary stream so that API can read the contents and save the details in Database
  • Or the Excel data can be read in to a data table and passed as a data table parameter to an API. The Selection of Excel file must be dynamic

Please  guide us in detail steps ,

 

Thanks in advance,

 

Regards,

umk

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support Team
Community Support Team

Re: Excel Upload and Save in SQL via an API through PowerApps

Hi @umk,

 

I am afraid currently it is not possible to full fill the requirements.

 

Firstly, PowerApps currently could upload file through the attachment control, but it has limitations, as this control could only work with Sharepoint lists or CDS entity, only within a form control can it be used to upload or delete files,

For file uploader, see the following idea:

Upload File to Cloud / OneDrive / Sharepoint

 

Secondly, for Excel content, it would need to take use of the Excel connector within PowerApps to extract the data directly from Excel file, and I am afraid it is not possible to change the file name during App runtime.

A workaround here is to take use of Microsoft Flow to pick up the selected file, and then pass the excel file content back in PowerApps.

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Community Support Team
Community Support Team

Re: Excel Upload and Save in SQL via an API through PowerApps

Hi @umk,

 

I am afraid currently it is not possible to full fill the requirements.

 

Firstly, PowerApps currently could upload file through the attachment control, but it has limitations, as this control could only work with Sharepoint lists or CDS entity, only within a form control can it be used to upload or delete files,

For file uploader, see the following idea:

Upload File to Cloud / OneDrive / Sharepoint

 

Secondly, for Excel content, it would need to take use of the Excel connector within PowerApps to extract the data directly from Excel file, and I am afraid it is not possible to change the file name during App runtime.

A workaround here is to take use of Microsoft Flow to pick up the selected file, and then pass the excel file content back in PowerApps.

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Demo Extravaganza Championship Voting Open

Voting Ends: October 30, 2019!

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 293 members 4,443 guests
Please welcome our newest community members: