cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sjcitpro
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
v-bacao-msft
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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,997)