Question

Need to display the attached pdf in section

HI,

While running a case, I have attached one pdf document. I want to know where that document is stored in pega.

Then I want to show that downloaded pdf in a section in the tabbled layout.

Please suggest some solution , how to show the pdf in a section which we have uploaded while running the case to a customer.

Thanks.

***Edited by Moderator Marissa to update platform capability tags****

Comments

Keep up to date on this post and subscribe to comments

October 21, 2019 - 10:20am

Here're answers on yours 2 different questions:

1. "While running a case, I have attached one pdf document. I want to know where that document is stored in pega"

Document is stored in PC_DATA_WORKATTACH table. Mapping b/w an attachment and a case is stored in PC_LINK_ATTACHMENT.

2. "Then I want to show that downloaded pdf in a section in the tabbled layout."

There're several ways. It depends on what you want to show in your repeating grid. The starting point is the data page D_AttachmentList with pzInsKey of your case as parameter. D_AttachmentContent will give you insights about each particular attachment

October 22, 2019 - 2:58am
Response to vaspoz

Hi,

Thanks for your response.  Can you please explain how to add that pdf in a section.I have dragged one section and I have given the data page as source "D_AttachmentContent". It is asking for the section. What section name I have to give in order to show that pdf(ie. Which I have attached while running the case)

Pega
October 24, 2019 - 4:10am

Hello,

Take a look at the solution provided in the below link:
https://community1.pega.com/community/pega-support/question/how-display-pdf-sectioninvoice

October 30, 2019 - 12:13am
Response to Evita_08

Hi,

I referred this post. Rett has attached two files right,If I use the same code, I am getting appropriate pdf attached. How to change the pdf file in order to display our content.

Pega
October 24, 2019 - 4:11am