Question
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. ?
Appreciate your help.
***Edited by Moderator Marissa to update categories***
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Hi Prasad, Good morning!
>>> suggestion which we can add to the control or other means to view those files(PDF/Word/Txt) within PRPC without downloading. ?
Otherwise - we may need to write custom controls using third party tools (PDFViewer for PDF) etc.. which I'm not aware of.
Please share your thoughts/comments, Thank you!
psahukaru