cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

How to look up SharePoint Record

How do I look up a SharePoint list records ID using the record title.  Also record may not exist.  I have a PowerApps button that uses a Flow to createUntitled.jpg a SharePoint record but if that record already exists then I only want to update it.

1 ACCEPTED SOLUTION

Accepted Solutions
Helper III
Helper III

Re: How to look up SharePoint Record

 Thank you so much for 

length(body('Get_items')?['value'])

I just could not figure out how to test for empty value. 

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: How to look up SharePoint Record

Hi @sjcitpro ,

 

Do you want to filter items through Filter Query?

And if there are no similar items, create a new item; if there is, update item.

 

Please refer to the following method to configure Flow.

  • Use length() function to determine if Get items has any output.

Image reference:32.PNG

length(body('Get_items')?['value'])

33.PNG

 

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Helper III
Helper III

Re: How to look up SharePoint Record

 Thank you so much for 

length(body('Get_items')?['value'])

I just could not figure out how to test for empty value. 

View solution in original post

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Users online (5,938)