cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sjcitpro
Level: Powered On

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
sjcitpro
Level: Powered On

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

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
sjcitpro
Level: Powered On

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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,834)