I have a Word Document I want to load into a binary file and then setup up a link property with action to open URL in new window. The only OOTB activity I could find was downloadFile which is Java based and its giving errors I don’t understand. I feel this should be possible in pega, please help.
This helped. Ultimately I was uploading the Word Document into Binary File and not Word Template and then I had to use Harness action over Open URL in Window, then write an activity to move from Data-Portal to Rule-Template-Word so I can grab the correct file with downloadFile.
Thanks for the help as it pointed me in the right direction.
OnClick Action : Call Open URL In window by passing param for Window name as "_self " or leave blank.
passing value _self in window properties for window Name field, you can download the binary file in the same window. If you need in new window, leave the value blank in the window name field (Open URL In New Window)
Call “downloadFile” activity that belongs Rule-File-Binary by passing the pzInskey of the binary file that you want to download.