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 / Get Items based on Fil...
Power Automate
Unanswered

Get Items based on File name from Get File Properties

(0) ShareShare
ReportReport
Posted on by 119

So I have a SharePoint library with pictures of parts where the file name is the part number.

I'm trying to add the picture to an entry on a SharePoint list for that part number.

Flow is:

Get the list of files

Then apply to each file returned

Find a corresponding entry on the SharePoint list using an OData query in the get items

PartNumber eq items('Apply_to_each')['Name']

However it is failing with:

Unable to process template language expressions in action 'Get_items' inputs at line '1' and column '13497': 'The template language expression 'items('Apply_to_each')['Name']' cannot be evaluated because property 'Name' doesn't exist, available properties are '@odata.etag, ItemInternalId, ID, Modified, Editor, Editor#Claims, Created, Author, Author#Claims, OData__DisplayName, {Identifier}, {IsFolder}, {Thumbnail}, {Link}, {Name}, {FilenameWithExtension}, {Path}, {FullPath}, {IsCheckedOut}, {VersionNumber}'. Please see for usage details.'.

 

So it says the property name doesn't exist but then under the list of available properties is Name

Confused!!!

Categories:
I have the same question (0)
  • tom_riha Profile Picture
    10,185 Most Valuable Professional on at

    Hello @robofski ,

    try to input the 'Name' including the curly brackets, exactly as it is in the error message.

    {Name} instead of Name

    image.png 

    Also, don't forget to place right side of the condition inside single quotes. 

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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard