Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Swedbank AB
SE
Last activity: 25 Jul 2018 3:24 EDT
Attachment preview post upload of file
Hi All,
While uploading attachment can we show preview to user before submit the select file action.
Thanks,
Deva.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689954000/5e1df259-88ec-40db-aa4a-a5b27280a5f7.jpg?itok=ChGegHBG)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689954000/5e1df259-88ec-40db-aa4a-a5b27280a5f7.jpg?itok=ChGegHBG)
Pegasystems Inc.
US
Hi Deva,
For an uploaded file, you can click on the file link to preview it before you submit the flow.
Thanks,
Susan
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Swedbank AB
SE
Hi Susan,
Thanks for reply. Our customer wants to see the preview after selecting the file before attaching to the case . So can pega include link in below window in pzAttachFileDDFileList section.
Thanks,
Deva
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689967000/4857ba23-514e-4145-8ab6-6c3b63127c6f.png?itok=lwb5f6-e)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689967000/4857ba23-514e-4145-8ab6-6c3b63127c6f.png?itok=lwb5f6-e)
Pegasystems Inc.
IN
Hi Deva,
There is no OOTB way to achieve this.
Previewing attachment of various type may be achieved by using third party APIs and you may have to write a lot of code and spend a lot of effort in achieving it.
Thanks,
Ujjwal
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
StellarNexus Consulting UG
DE
Hello Ujjwal!
The preview functionality is available out of the box on SAP solutions as well as other BPM solutions and hence Clients who are used to this functionality come up with the same request often.Can this be suggested as an enhancement to the engineering team at Pega?
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689967000/4857ba23-514e-4145-8ab6-6c3b63127c6f.png?itok=lwb5f6-e)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689967000/4857ba23-514e-4145-8ab6-6c3b63127c6f.png?itok=lwb5f6-e)
Pegasystems Inc.
IN
Hi Krish,
Thanks for your input!!
Having a common solution means to have a code to handle various sort of attachments.
I would check the same with team concerned and would get back.
Regards,
Ujjwal
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
IN
Inline preview for attachments is supported in Pega 7.4, only for attachments of type Image/Video/Pdf.
Inline preview is shown for the attachments that are uploaded i.e. inline preview is not shown in the upload modal.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Accenture Services Pvt. Ltd.
IN
Hi Vanaa,
We have migrated our code from Pega 7.1.9 to 7.4 but inline preview of attachment is not working for us. Which OOTB is used for inline preview of attachment?
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2023-07/f7f35052-5e7d-4ed9-ada9-87594f1d3c63.png?itok=bz3Ms_gZ)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2023-07/f7f35052-5e7d-4ed9-ada9-87594f1d3c63.png?itok=bz3Ms_gZ)
Pegasystems Inc.
US
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
IN
the case attachments of type image/video/pdf can now be viewed inline by clicking on case attachment link or thumbnail from the attachments gadget of case.
pyWorkAttachmentIcon , pyAttachmentFeedDescription controls are used in the OOTB case attachments
-
Premal Patel