Question

softtech
TR
Last activity: 12 Aug 2025 11:31 EDT
How can I preview generated .docx file
I need to implement the following workflow in Pega:
User selects a Word template → Pega fills template tags → Generated .docx opens directly in the user’s local Microsoft Word for preview, without saving or attaching it in Pega.
Current OOTB options (pxGenerateWordDocument, pxGenerateAndAttachDocument, DisplayAttachFile / sendFile) either save or download the file, but none open it directly in Word without saving.
Questions:
Is there a Pega method to open a generated .docx directly in local Word without saving it?
If not, what is the recommended approach to implement this preview flow?