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

Form with Attachment to Spreadsheet using Flow - link to attachment isn't working

I have a working Flow set up to capture each Form response in a spreadsheet. The Form requires an attachment to be submitted and that's where my problem occurs. When I download the results the field shows as a clickable link but when Flow adds the line to the document it brings in the document name. 

 

What I get (edited version) 

 [{"name":"attachmentname.jpeg","link":"https://attachmentname.jpeg":null}]

What I want: 

 https://attachmentname.jpeg 

Any ideas on how to make this happen? 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @Tiffany9,

 

You could use expression to extract the link from the attachment array:

variables('Attachments')[0]['link']

Screenshot 2021-01-01 131502.jpg

Run result:

Screenshot 2021-01-01 131430.jpg

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support
Community Support

Hi @Tiffany9,

 

You could use expression to extract the link from the attachment array:

variables('Attachments')[0]['link']

Screenshot 2021-01-01 131502.jpg

Run result:

Screenshot 2021-01-01 131430.jpg

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (68,586)