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 / Update file identifier...
Power Automate
Unanswered

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
    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

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard