cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MFawzy
New Member

Get attachment content output files to be saved in document library without file extension

Hello, appreciate any help...

My flow is working fine but the saved file in the document library without extension, i need it to be saved like it is attached "doc or pdf"

my flow created to get the attachment from SharePoint list and the below screenshot for the loop "Apply to each"

social status flow2.png

social status flow.png

1 ACCEPTED SOLUTION

Accepted Solutions
rebeccas
Community Champion
Community Champion

Okay...you should be able to click in the file name one called DisplayName (which would be the file name). It will be available in the Dynamic Content and you are selecting it from you Get attachments. See below:

 

image.png

 

Let me know if you still have trouble with it.

 

That is what you would select if you want to just keep the File Name that was already used. If you do not and want to change the name to something different let me know and I have one I do that for also. 

View solution in original post

3 REPLIES 3
rebeccas
Community Champion
Community Champion

If you know what it will be you can just add a .pdf at the end of the file name. If you do not (it may vary) then above your 'Get attachment content' add in a 'Get attachment' and that will allow you to select the file name from there.

@rebeccas  Thanks for your idea, i'm already using the get attachment, i added full screenshot for the flow

can you please tell me where is the missing point!!

rebeccas
Community Champion
Community Champion

Okay...you should be able to click in the file name one called DisplayName (which would be the file name). It will be available in the Dynamic Content and you are selecting it from you Get attachments. See below:

 

image.png

 

Let me know if you still have trouble with it.

 

That is what you would select if you want to just keep the File Name that was already used. If you do not and want to change the name to something different let me know and I have one I do that for also. 

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,355)