web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / SharePoint Item Lookup
Power Automate
Unanswered

SharePoint Item Lookup

(0) ShareShare
ReportReport
Posted on by 358

What is the best method for finding and updating an item in SharePoint where you know the value of a unique field but not necessarily the ID or item GUID (given that is the only way to identify a sharepoint item)

 

Would you use the SharePoint getitems and an ODATA filter that was: "$filter": Field_X0020_Name eq 'uniquevalue' and then use the ID from that query?

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi,

     

    Yes to update the item you need to set the ID. If you don't have the ID then you need to use the Get Items ODATA Filter and use the ID.

     

    Thanks

     

    Ajith

  • WiggityZwiggity Profile Picture
    358 on at

    Got it - thats what I assume, when I look at the query results of inputting a query into the ODATA filter field I am confused on the correct syntax - was my previous post correct?

  • WiggityZwiggity Profile Picture
    358 on at

    So 2 methods I have tried:

     

    One using a filter on the returned array which does not work, or 2 using an ODATA filter on the get items action (which I asume my syntax is incorrect, I've tried a few things"

     

    Capture 2.PNGCapture.PNG

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Try the filter quey without the equal (=) sign from the begining. If that doesn't work try removing the single quotes of the id.

     

    Thanks

  • WiggityZwiggity Profile Picture
    358 on at

    I think I identified why this isn't working.  I am using an Exchange calendar GUID from a calendar item modification action in a flow that I then wanted to use as a variable to query a SharePoint list for an item that contains the same Exchange GUID (that is written to that item based on the modification of that SharePoint item that triggers a Nintex Workflow to create a Calendar Item through an Office 365 exchange connector.  The difference is how those GUID's are represented:

     

    AAMkADJiZThiNzAwLTU5MjktNDg4ZS1hZGNkLTVlMDAwMWRjMzlhMABGAAAAAAB88UgFY3peSI8P6uZROIsmBwDIj5a6gWq_S5jc3-Iz5-wBAAAAAAENAADIj5a6gWq_S5jc3-Iz5-wBAAFMQnNVAAA= (From the Flow Modification Action)


    AAMkADJiZThiNzAwLTU5MjktNDg4ZS1hZGNkLTVlMDAwMWRjMzlhMABGAAAAAAB88UgFY3peSI8P6uZROIsmBwDIj5a6gWq+S5jc3/Iz5/wBAAAAAAENAADIj5a6gWq+S5jc3/Iz5/wBAAFMQnNVAAA= (From the Nintex Action)

     

    How can I get these two in sync - is there a way to parse the string and replace the "/" character with "-"?

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi,

     

    Couple of options:

     

    (1)

    You need the original id to store in a custom sql table or Excel Sheet (one drive). Write a function in SQL table column or Excel sheet to convert into "-". This way you got both formats are stored. Then use this intermediate storage to use your query filer.

     

    (2)

    Host a custom Web API to take the GUID as input and convert into the other format (return value)

     

    Good luck

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard