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

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.

 

View solution in original post

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

 

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (2,410)