Question
Virtusa Corporation
AU
Last activity: 23 Jan 2018 13:53 EST
pxViewAttachments description and usage
i have come across the pxViewAttachment component in the UI Kit. Can some one please let me the usage of this component.
Note: My use case is to view attachment on the click of link
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
IN
Hello,
On click of link to display the attachments, we need to configure the ViewAttachment action for click event. Like:
Regarding pxViewAttachment, we will get more info and update you on same.
Reagrds,
Praveen
Virtusa Corporation
AU
Hi Praveen,
Thank you for reply. Yes, I have configured and observed that functionality. its showing a different section. My use case is to view attachment ( either PDF/image). I was hoping to know, if I can use this control for the display purpose.
Pegasystems Inc.
IN
Hello,
For requested requirement please refer https://collaborate.pega.com/question/how-display-pdf-sectioninvoice
Regards,
Praveen
Pegasystems Inc.
US
Hi @BukhariSahebS,
Were you able to go through the link provided above by Praveen? If that didn't help you, could you please let us know and then we can get subject matter experts to help out.
Thanks!
Pegasystems Inc.
IN
Hello Saheb,
To further add, the below is the UI of the window that is launched when you click on the link/icon configured to view attachments as mentioned in by Praveen in the above reply.
As we can see, we can view history and audit of the case, can view and edit attachments and also can add new attachments.
Thanks!
Pegasystems Inc.
US
Can you please refer to the help document provided. It will give you a fair bit of idea about attachments. Please refer to below document.
https://community.pega.com/sites/default/files/help_v71/procomhelpmain.htm
Hope it helps
Virtusa Corporation
AU
Hey Rachit,
I am specifically looking for a attachment (PDF/image) to display in browser/pop up/model window. I was hoping to find anything OOTB for the same. I have observed couple of custom made scenarios for the same use case, but nothing OOTB. There is one which works only for IE browser and with image viewer.
Thank you for response.
Pegasystems Inc.
US
May I know how you are able to view the attachment in IE so that probably I could check in other browsers why it is not working. Since, as of now, you are trying this feature using OOTB, I do not want you to suggest any custom javascript to view where you can view the attachment in an iframe.
Virtusa Corporation
AU
pyDisplayImageViewerAttachFile -- Pega-ProcessEngine:07-10-01
https://community.pega.com/support/support-articles/imageviewer-does-not-work-chrome
Pegasystems Inc.
IN
Which version of UI kit are you referring to? I am not able to find pxViewAttachment rule in UI kit 08.01.
Virtusa Corporation
AU
Pega 7.3.1. Its in Pega-Gadgets ruleset