Question

1
Replies
769
Views
BhagyashreeC9567 Member since 2018 18 posts
Evoke Technologies
Posted: April 17, 2018
Last activity: April 18, 2018
Closed
Solved

Need option to download PDF on click of pdf icon in repeat grid

Hi Guys,

I have been trying to implement a basic functionality where user clicks on a pdf icon on a repeat grid row and it downloads the particular PDF file pertaining to that record/row. The source of the repeat grid is a dynamically generated report definition.

Few questions:
How can we associate a pdf to each record. Would having a column in the RD with the pdf file link on server be fine? As of now I am going to save the pdf files as separate binary files in pega.

2.I have a binary file in Pega with the InsKey as 'RULE-FILE-BINARY WEBWB LICENSEDOC!PDF #20180417T122054.417 GMT'. On click of the icon, I am running the activity @baseclass.DownloadFile and passing the insKey. But it isnt working.

3. When working with binary/text files,how do you provide the File Path. This is to say is the below correct:
FilePath="webwb/Somedoc.pdf"

Any suggestions?

Thanks!

Low-Code App Development Data Integration Java and Activities User Interface
Moderation Team has archived post
Share this page LinkedIn