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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Update file identifier...
Power Automate
Answered

Update file identifier - How to get the existing dynamic filename that is already in SP

(0) ShareShare
ReportReport
Posted on by 920 Super User 2024 Season 1

Hi,

 

I want to update an existing file in my SP.

 

 

wonka1234_1-1707926439684.png

 

how can i pickup the latest file in my SP life and use that as my file identifier?

 

Categories:
I have the same question (0)
  • Verified answer
    v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @wonka1234 

    According to your description, you want to get the latest file name in your SharePoint. This is my test flow.

    vyueyunmsft_0-1707961002127.pngvyueyunmsft_1-1707961049906.png

    FileRef desc

    first(outputs('Get_files_(properties_only)')?['body/value'])?['{FilenameWithExtension}']
     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

     

     

  • wonka1234 Profile Picture
    920 Super User 2024 Season 1 on at

    @v-yueyun-msft thanks, seems to be working, but the expession used in your compose, does it go into subfolders of my getfiles? I only want it to search the parent level for excel files not the subfolders. Seems like it is picking up an excel in an archive folder within the parent library name.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 112 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 52

#3
Ellis Karim Profile Picture

Ellis Karim 51 Super User 2026 Season 1

Last 30 days Overall leaderboard