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

Excel Online (Business) to SharePoint List Flow

I have been attempting to get data from an excel sheet in a sharepoint document library to update an existing list in SharePoint. There are great examples of how to use Get Rows with the now deprecated Excel connector.

 

I'm just wanting some guidance in the right way of doing this with the Excel Online (Business) connector.

 

My current thought is:

  1. Manual Trigger
  2. List Rows
  3. Do Until
  4. Get a Row
  5. Create Item

The problem I am having with this approach is Get a row requires a Key value, which I don't know as the key is a randomised number. The Do Until I think is right, but the Get a Row is probably where I'm going wrong. Any suggestions?

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Dennis727,

 

Please use the column value instead of the whole row into the key value, for example, the Key column I input is Number, the key value should be Number too.Annotation 2019-09-06 165740.png

Annotation 2019-09-06 165718.png

Best Regards,
Community Support Team _ Lin Tu
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

6 REPLIES 6
RezaDorrani
Dual Super User
Dual Super User

Hi @Dennis727 

 

I am assuming you are trying to check to see if the excel row data exists in SharePoint? If no then you want to create the item?

Hi @RezaDorrani ,

Thank you for the followup. Yes moving forward I will want to add a condition in there to check data, however, I am struggling with just getting a row of data into the SharePoint List.

Any help would be appreciated.

thanks,

Dennis

@Dennis727 

 

share screenshot of the flow where the issue is occuring with inserting data into sharepoint

@RezaDorrani 

Please see Album of Screenshots

Screenshots show setup of SP List, Excel document stored in Document library on SharePoint.

The flow configuration is also shown.

The error text expanded:

"status": 404,
"message": "No row was found with Id '{\"@odata.etag\":\"\",\"ItemInternalId\":\"a5afc824-8145-4e91-9612-03b0c5eb6523\",\"TitleExcel\":\"New Title 1\",\"CustomIDExcel\":\"cxy1234\",\"FirstnameExcel\":\"John\",\"LastnameExcel\":\"Doe\",\"CreatedDateExcel\":\"43714.7076388889\"}'.\r\nclientRequestId: f59c81ae-a78f-4406-bd70-3be163d8b44a\r\nserviceRequestId: 00b2de3b-03a5-4466-bfa5-8597d1f3690c;7bafaec9-33f3-4d3b-8786-fc44059a1bb1",
"source": "excelonline-ase.azconn-ase.p.azurewebsites.net"

Hi @Dennis727,

 

Please use the column value instead of the whole row into the key value, for example, the Key column I input is Number, the key value should be Number too.Annotation 2019-09-06 165740.png

Annotation 2019-09-06 165718.png

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

 

Thanks @v-litu-msft that did the trick, please see below corrected field as you suggested:msedge_jGCKr0oKDX.png

 

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (4,648)