cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Nisarahamed
Frequent Visitor

Is there a way to append file in sharepoint document library using PowerApps?

Hello, 

 

Is there a way to append file in SharePoint document library using PowerApps?

 

I have a Powerapp and i upload CSV files in the PowerApp and that gets deposited in Sharepoint using MS flow. But the problem here is when i try to append the file (try to upload CSV file of the same name) the MS flow fails. 

 

My case scenario here is :

1) If i upload a new CSV the flow should accept the file and deposit in Sharepoint - (Which is running smoothly)

2) If i upload a CSV file which if already existing in SharePoint library then the latest file should get replaced with the already existing CSV. 

 

Any help on this is highly appreciated.

 

Thanks,

Nisar

3 REPLIES 3
Pstork1
Dual Super User III
Dual Super User III

The easiest way would be to use a Power Automate flow to delete the file and upload the replacement.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

@Pstork1  Thanks for your reply. Do you have any resource link to check and apply the same?

Pstork1
Dual Super User III
Dual Super User III

The following walkthrough has an example of how to use a flow to upload files from Power Apps.  You would just need to check for the file's existence and add a Delete file action before creating the new file.

PowerApps upload file to SharePoint document library - SPGuides

 

This post shows how to check if a file exists in SharePoint

Solved: How to check if a file exists in a SharePoint libr... - Power Platform Community (microsoft....



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,556)