Question


Accenture
CA
Last activity: 5 Aug 2015 9:01 EDT
HTMLToPdf activity
I am using HTMLToPdf activity to generate a PDF but any link added in the Stream rule is not clickable in the PDF though the word is underlined. The application I am using is in PRPC V6.2 SP2. Is there a way to make the link clickable in PDF
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution


Pegasystems Inc.
GB
It works - attached for reference.
I wasn't able to find either HFIX-9505 or HFIX-8304 on the "HOTFIX SELF SERVICE" for some reason (which is linked to the 'My Support Portal") so you will have log an SR and request a DL item for either HFIX-8304 (for just the HFIX link fix) or (you might as well in my opinion) HFIX-9505 for the latest PDF-related HFIX.
I installed HFIX-9505 via Update Manager: no issues encountered whilst installing the HFIX - note - it did require me to restart my PRPC system for the HFIX to take effect though.
Hope this helps,
Thanks,
John
Updated: 4 Aug 2015 10:11 EDT


Pegasystems Inc.
GB
Hi Maria,
I just quickly checked my 7.1.7 system : and there is an option to do this on that version:
pyPDFEnableHyperlinks
Enable Hyperlinks(true/false). Default is false
Setting this parameter to 'true' (no quotes) works for me (PDF attached).
What version of PRPC are you using ? (I see you are on 62SP2) Check the HTMLTOPDF Parameters tab to see if this option is publically advertised....
Even if it is not shown on the Parameters tab - try setting the Param - it might be picked up (even if not on the params tab).
To try this - use the option 'Pass current parameter page' on your call to HTMLTOPDF and then add the parameter to your calling activities' Parameter list.
If trying this doesn't work : there still might be HFIXes for 62SP2 which enable this (I don't know yet - I would have to check).
Cheers
John


Accenture
CA
Thank you for your reply.
I see that there is changes to the PDFUtils API itself and no change to the activity. Guess I will have to raise an SR for this issue .


Pegasystems Inc.
GB
Hi Maria,
I did a check on 62SP2 - and it looks like the latest version for HTMLTOPDF (and PDFUtilsImpl) has support for the parameter: I'm just installing HFIX-9505 (the lastest PDF-related HFIX for this release as far as I can see) on my system now - I'll check it works for me and report back here.
Cheers
John
Updated: 5 Aug 2015 8:44 EDT


Pegasystems Inc.
GB
Ok - so it is actually HFIX-8304 that is needed here "Hyper links are not working in PDF".
But I would still recommend you take the latest PDF-related HFIX here to get the other features/fixes.
(By the way: this is not always the case that you should take the latest HFIX for the sake of it (you should consider just taking what you need as a minimum) : but in the case of HTMLTOPDF-related HFIXes - the number of altered rules/engine classes is usually pretty-limited to very specific PDF-related stuff and almost always worth getting the latest in my view).
I'm still testing the HFIX (9505 - which has 8304 as a dependency).
Accepted Solution


Pegasystems Inc.
GB
It works - attached for reference.
I wasn't able to find either HFIX-9505 or HFIX-8304 on the "HOTFIX SELF SERVICE" for some reason (which is linked to the 'My Support Portal") so you will have log an SR and request a DL item for either HFIX-8304 (for just the HFIX link fix) or (you might as well in my opinion) HFIX-9505 for the latest PDF-related HFIX.
I installed HFIX-9505 via Update Manager: no issues encountered whilst installing the HFIX - note - it did require me to restart my PRPC system for the HFIX to take effect though.
Hope this helps,
Thanks,
John