I am experiencing an issue with hyperlinking in the Reporting Module. I would like the images in my report to link to their full-size versions, which are hosted on Webdev. However, when I enter a URL into the URL field, such as google.com as an example, it seems that the link is embedded in the PDF but is not functioning as a clickable hyperlink.
Edit:
Have found that clicking the link will return to page 1 regardless of what I put in the URL field. I can put Page:2 or Page:3 but when linking a URL it defaults back to page 1
In your export, it appears that you used 'bare' urls (www.google.com) - some tools (Chrome, MacOS Finder, Safari) balk at this and either do nothing when the links are clicked, or reject it as invalid. Interestingly, Firefox's embedded PDF viewer seems to handle it fine.
If you use a fully qualified URL including the protocol (https://www.google.com), it works for me in Finder, Safari and Firefox, but is silently rejected in Chrome; possibly as some sort of security measure since it's a local file trying to open an internet URL.
You can open the PDFs exported by the Reporting module in a text editor to confirm; there's lots of other junk you don't necessarily care about, but you should see sections like this somewhere:
So, if I manually add the link using a PDF editor, it works in Chrome and Adobe Acrobat. However, I've noticed that the PDF code generated by Ignition is in PDF 1.2 format, and after editing it with Adobe, it becomes PDF 1.6. Could this be the cause of my problem? Perhaps the older PDF version (1.2) doesn't support hyperlinks, and that's why they aren't functioning as expected.
It would be really nice if this worked, but unfortunately the behavior is still the same in chrome and adobe. Looks like other applications have been able to generate URLs in a PDF without issue.
Hi,
In a PDF report, URL (hyperlink) in image doesn't work when you open it with Adobe Reader, Chrome and Edge. Do you have a solution ?
It's OK with Firefox and Safari.
It's a user agent problem. Chromium/it's PDF renderer doesn't appear to allow clicking URLs from local file PDFs, or PDFs in the older format the reporting module outputs, or something. There's no workaround I'm aware of.
I have to text fields in a report that have URLs associated with them. They open to the Chrome page when used in the designer preview, but does not when actually open as a PDF in Chrome. Has there been any work done on this since the last post to the forum?
No, as mentioned previously this is a decision Chrome made, not something we have control over. A variety of PDF viewers are perfectly happen with the hyperlinks we generate...and a variety are not. There's not much we can do about it.
Eventually we may revamp the PDF output of the reporting module to be a "more modern" version, but that will not happen anytime soon.