How to Generate and Preview PDF from a word template without downloading it
Hi,
I need to generate a pdf and preview it directly when I click a button
I have an action set on-click that calls an activity that will generate pdf based on the word template and the mail merge that I provided. Then, I run script "pega.ui.HarnessActions.doAttachmentSingleClick"
But, it is downloading the pdf instead of previewing it. I don't want to download the pdf, I want to preview pdf in Pega
Does anyone know how to preview the pdf?
Thank you