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
Highlighted
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.
Highlighted
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

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

Users online (8,989)