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 files (properties ...
Power Automate
Answered

Get files (properties only) by Name

(0) ShareShare
ReportReport
Posted on by 1,387 Moderator

I have a list of files in a Library that either start with:

  • Employee Termination Request
  • Employee Termination
  • Supervisor Comments

 

I have a sperate flow that combines "Employee Termination Request" and "Supervisor Comments" into "Employee Termination", so I want to only find files that start with "Employee Termination Request":

 

IPC_ahaas_0-1664547674893.png

This is the "Name" field is actually "Title" which returns as "{Name}" using Get files (properties only).

I trued using "Title", "Name", and "{Name}" in the Filter Query and I get no results with all of them:

IPC_ahaas_1-1664547832919.png

 

 

 

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

    Hello @IPC_ahaas ,

    the file name is represented by a hidden column FileLeafRef, and if you want to search if a file name starts with a string you can't use 'equals' operator. Use startsWith(...) instead.

    startswith(FileLeafRef, 'Employee Termination Request')
  • IPC_ahaas Profile Picture
    1,387 Moderator on at

    Hot **bleep**, that worked. Thank you @tom_riha 

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