cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Kudo Kingpin
Kudo Kingpin

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
Highlighted
Community Support
Community Support

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.

View solution in original post

5 REPLIES 5
Highlighted
Community Support
Community Support

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.

View solution in original post

Kudo Kingpin
Kudo Kingpin

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

Highlighted
Kudo Kingpin
Kudo Kingpin

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
Dual Super User III
Dual Super User III

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



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Highlighted
Advocate V
Advocate V

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 Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,507)