Reporting Module Hyperlink in Object

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

Ignition Version: 8.1.32


I would expect the url to be more specific than that.

Something like https://global.discourse-cdn.com/inductiveautomation/original/3X/7/9/79e91356bd9582c04cb0a6e3799a2d55e3407a33.jpeg

Do you have a sample PDF you're generating you can upload?

Here is a sample of the generated PDF

Report (6).pdf (300.0 KB)

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.

url 10-31-23 11AM.pdf (4.7 KB)

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:

/Type /Action
/URI (www.google.com)
/S /URI
/Type /Action
/URI (http://www.google.com)
/S /URI

I have tried with the full URL (https://www.google.com ) and it still does not open. I am trying in Adobe Acrobat and Chrome.

If I am on page 2 and click the link it jumps back to page 1.

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.

<?xpacket end="w"?>
endstream
endobj
123 0 obj
<</S/URI/URI(http://www.google.com)>>
endobj
129 0 obj

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,

Is it possible to use hyperlink in image shape with Ignition 8.1.15 and Report Module 6.1.15 ?

Not in any supported way. You should upgrade. 8.1.19 is the first version that adds the URL property to reporting:

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.

Does it work in Perspective Report Viewer or PDF Viewer ?

No, not currently, which is a bug we're tracking internally (IGN-6371).