Skip to main content

Notifications

Power Automate - General Discussion
Answered

Sharepoint List cuts off file extensions

(0) ShareShare
ReportReport
Posted on by 30

Hello everyone, 

 

i have the following flow - manual trigger to create a list item and attach a file if any. While testing on my end attachments are being created in the list but for some reason the file extension gets cut off therefore when trying to open the files from the list i cant. 

 

please help with the file extension. 

 
  • Verified answer
    v-bacao-msft Profile Picture
    v-bacao-msft on at
    Re: Sharepoint List cuts off file extensions

     

    Hi @P00118510 ,

     

    The File name with extension output by the Create item action is the Title of the Item, which actually has no extension.

    In addition, if you are using the uploaded file as an attachment, then you should seem to get the name of the file.

    If you want to get the name of the uploaded file, you can refer to the following method.

    90.PNG

     

    Best Regards,

  • Pstork1 Profile Picture
    Pstork1 64,703 on at
    Re: Sharepoint List cuts off file extensions

    I see the create item action, but what action is creating the 'SharePoint File Name with' dynamic content.  You need to find that, because I don't think an extension is getting created.

  • P00118510 Profile Picture
    P00118510 30 on at
    Re: Sharepoint List cuts off file extensions

    1 - flow.png2 - flow.png

  • Pstork1 Profile Picture
    Pstork1 64,703 on at
    Re: Sharepoint List cuts off file extensions

    There are a couple different sources in the dynamic content for the file name.  Some have extensions included and some don't.  I suspect you are using one of the ones that doesn't when you create your attachment.  Can you post more details and I'll try to point you in the right direction.

  • ScottShearer Profile Picture
    ScottShearer 25,150 on at
    Re: Sharepoint List cuts off file extensions

    @P00118510 

    Can you post a screen shot of your Flow?  That will make it much easier to assist.

     

     

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

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard