Question
Galax E Solutions
IN
Last activity: 6 Jul 2016 13:21 EDT
Need to view Image content of format gif/docx/pdf in the same window which are attached to the Pega case.
1. We were able to view the image content sucessfully of type PNG/GIF/JPEG which are attached to the case without downloading the image.
2. For this we wrote custom control to transform the image stream as HTML
3. <img name='test' src='data:image/gif;base64, <pega:reference name="$this-value" mode="normal" />' />
4. But we have difficulty in the viewing the content of pdf/word/text files which are attached to the case without downloading.
5. Is there any suggestion which we can add to the control or other means to view those files(PDF/Word/Txt) within PRPC without downloading. ? Attached the screen shots for PDF and GIF image on the case object.
Appreciate your help.
Hi Maruthi,
What I'm thinking of may not be the best solution but here's one option - if these PDF/Word documents are written to a file location on the server, you could specify the file as the source in an iframe within a section rule of your UI and load it.
Thanks,
Sunny