cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MeneerRob
Frequent Visitor

Flow to email attachment - dynamic extension

Hi all,

 

I have build a simple flow. When a new item is made with PowerApps i need to email the attachment. The attachment works fine but i dont get a extionsion. When a open a pdf document i can selected the pdf reader but how can i make this works? I checked all the forums but cant find the right answer. 

Here is the flow i created, i start with when a new item is created in my SharePoint list.

 

Flow extension.png

1 ACCEPTED SOLUTION

Accepted Solutions
RookieI
Resolver I
Resolver I

You use Created By DisplayName in Attachment Name, which requires Display Name of the file output by Get Attachments.

 

1.PNG

View solution in original post

3 REPLIES 3
ShaunD
Regular Visitor

Does the attachment name field have the extension in it? (i.e. ".pdf") you can just add the extension in the field if the dynamic variable you're using doesn't contain it.
RookieI
Resolver I
Resolver I

You use Created By DisplayName in Attachment Name, which requires Display Name of the file output by Get Attachments.

 

1.PNG

Oeps, that was a silly mistake, it works now 🙂 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (4,109)