cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Bizzo
Level 8

When Excel file is uploaded to SharePoint, parse file, create rows in a SharePoint list

A customer wants to have their agents upload Excel files to a Document library in SharePoint. When a file is uploaded, the contents of the file should be parsed, and for each line in the file a new row is inserted into a SharePoint list to be looked at and processed. Each file represents a unique "event", and the customer wants to keep these files/events separate in the Document library.

 

  1. Can't seem to "Get rows" from a file in SharePoint.
  2. Mapping Excel columns only seems to work with a specific file in a specific place.

Any suggestions?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: When Excel file is uploaded to SharePoint, parse file, create rows in a SharePoint list

Hi @Bizzo,

 

Sorry but I don't quite get what you want. About "for each line in the file a new row is inserted into a SharePoint list to be looked at and processed", did you mean that you want all the rows in the newly uploaded file to be inserted to SP list as items? If so, I'm afraid that this cannot be achieved in flow. As the file uploaded in SharePoint library will be considered as a whole file and you cannot parse it. The Excel-Get rows action is not available with SharePoint library connector. 

 

If you really need this, please consider to post this idea in the Flow Ideas forum, so it might be considered for future releases.

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Regards,

Mona Li

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

Re: When Excel file is uploaded to SharePoint, parse file, create rows in a SharePoint list

Hi @Bizzo,

 

Sorry but I don't quite get what you want. About "for each line in the file a new row is inserted into a SharePoint list to be looked at and processed", did you mean that you want all the rows in the newly uploaded file to be inserted to SP list as items? If so, I'm afraid that this cannot be achieved in flow. As the file uploaded in SharePoint library will be considered as a whole file and you cannot parse it. The Excel-Get rows action is not available with SharePoint library connector. 

 

If you really need this, please consider to post this idea in the Flow Ideas forum, so it might be considered for future releases.

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Regards,

Mona Li

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Bizzo
Level 8

Re: When Excel file is uploaded to SharePoint, parse file, create rows in a SharePoint list

Hi @v-monli-msft,

 

Thank you for the reply. You understood correctly. I think I will put that in as a new Flow idea, but I think I have a bit of a complicated (but not completely unreasonable) workaround to make this happen. I'll try and test out my workaround and post it here if it works.

 

Thanks again,

Jason

Bizzo
Level 8

Re: When Excel file is uploaded to SharePoint, parse file, create rows in a SharePoint list

This isn't a solution. Do you know why it was marked as the solution? 

Highlighted
Super User
Super User

Re: When Excel file is uploaded to SharePoint, parse file, create rows in a SharePoint list

Bizzo

GetRows works fine in OneDrive4Business. As a workaround, you can copy the Excel file from Sharepoint to OD4B.

I am using this trick in one of my flows.

Hope this helps





If anybody solved your question, remember to mark its post as a solution!

Proud to be a Flownaut!





Tanner
Level 8

Re: When Excel file is uploaded to SharePoint, parse file, create rows in a SharePoint list

@v-monli-msftPlease unmark your post as a solution. It is not one, and OP confirms that.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

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.

thirdimage

Flow Community User Group Member Badge

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

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