cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
zblankenship
Level: Powered On

Displaying attachments

I am aware of the short comings with attachments and downloading them, but I am hoping for a work around. I have an edit form that allows users to add or remove attachments and when they click the attachment it tries to download and fails. Is there anyway that when they click the attachment it sends them to a page to view the attachment in an internal viewer.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Displaying attachments

With the attachment control, it is not possible.

A possible workaround is:

Switch the Attachment control with a Gallery in the form control (This is currently not supported, but you could be able to add a gallery inside the DataCard by Doing a Copy and paste), switch the Gallery Items property to:

ThisItem.'{Attachments}'

And the OnSelect property of the Naviagte button to:

Launch(ThisItem.AbsoluteUri)

when Clicking on the Arrow, it will open a webpage with the proper image attachment.

Reference:

Att.gif

 

Please also follow the reminder to configure the other properties as needed.

 

Regards,

Michael

Community Support Team _ Michael Shao
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

2 REPLIES 2
Community Support Team
Community Support Team

Re: Displaying attachments

With the attachment control, it is not possible.

A possible workaround is:

Switch the Attachment control with a Gallery in the form control (This is currently not supported, but you could be able to add a gallery inside the DataCard by Doing a Copy and paste), switch the Gallery Items property to:

ThisItem.'{Attachments}'

And the OnSelect property of the Naviagte button to:

Launch(ThisItem.AbsoluteUri)

when Clicking on the Arrow, it will open a webpage with the proper image attachment.

Reference:

Att.gif

 

Please also follow the reminder to configure the other properties as needed.

 

Regards,

Michael

Community Support Team _ Michael Shao
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

Super User
Super User

Re: Displaying attachments

I would like to have this preview gallary with pdf files?

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,700)