Skip to main content

Notifications

Power Automate - General Discussion
Answered

File Name missing from Dynamic Content

(0) ShareShare
ReportReport
Posted on by 5

Hi everyone,

 

I'm having an issue creating a flow at the minute.

 

My trigger is "When a File is Created in a Folder" in SharePoint, I then want to apply a condition on the filename, but in Dynamic Content, I don't see the "File Name", only "x-ms-file-name-encoded" which isn't very useful for me.

 

Can anyone help?

  • DaithiM Profile Picture
    DaithiM 5 on at
    Re: File Name missing from Dynamic Content

    Thanks for your help. This worked perfectly.

  • Verified answer
    eric-cheng Profile Picture
    eric-cheng 5,171 on at
    Re: File Name missing from Dynamic Content

    Hi @DaithiM ,

     

    If you dont need the file content/binary, you can the When a file is created (properties only) trigger as it will still allow you to specify a folder.  Even then, you can use a Get File Content by Path action afterwards.

     

    Screenshot_20210730-232208_Chrome.jpg

     

    Alternatively, if you want to still use your existing trigger, you can use the Get File Metadata filter and pass id

     

    Screenshot_20210730-233758_Chrome.jpg

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

     

     

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard