I am generating PDF of my case data. I need to show images (attached in the case) in the generated PDF. How to achieve this? Pega version is 8.1.4
Keep up to date on this post and subscribe to comments
Have you checked this articles? https://community1.pega.com/community/pega-support/question/how-extract-attachments-work-object-and-store-it-pdfhttps://community1.pega.com/community/pega-support/question/how-append-content-attachments-pdf-file
I hope the below pointers will help you to achieve your requirement.
-Do a obj-open-by-handle on the Instance of Data-Workattach-File (for example). the property pyAttachStream has the content in base64 encoded format.
- Call the Pega function Base64 decode and pass the pyAttachStream as parameter. This will return string which can be found in clipboard.
- Convert image data to html stream.
-Follow the standard steps to generate pdf from stream.
Can you please elaborate on this? - Convert image data to html stream.
Do you mean to say show the decoded property value in html? and then call this stream in Property-Set-HTML?
Sorry, we could not find any existing content that matches your question. Please continue to post your question here
Please enter your question or keywords
Please wait while we search for PDN content that suits your question.