cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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

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

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.

 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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (9,182)