Skip to main content

Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
Danijel
Partner - Creator III

Hyperlink from Qlik Sense not working

Hello all,

We have in a Qlik Sense application within a table a field with a url. This field is also displayed as url and works within the Qlik Sense application (Feb 2022 Patch1).

Now we distribute this tab as html report within an email (NP May 2021 SR4). There the "link" is no longer displayed correctly. Only the name "Link" is displayed as hyperlink.

I have already tested it with HTML Encode, as well as a formula within the report.

My HTML code is:
<td valign=top height=25 width=150> <a href="%%url_1%%">Link</a> </td>

Does anyone have any other ideas?

Greetings

 

 

Labels (2)
19 Replies
Frank_S
Support

@Danijel


I would suggest turning on your Developer tools and checking for errors when you click that link.

Further, and full disclosure, it's not abundantly clear at to what your use case here is. Is it a link to an NPrinting Report? Does the link work when you click it in Qlik Sense hub?

We don't know what the hyperlink is suppose to do or connect to (a bit of a black box here).

 

If you could clarify the detailed steps to reproduce the issue, then perhaps we could provide additional insight.

 

Kind regards...

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Danijel
Partner - Creator III
Author

Hello @Frank_S ,

within the Qlik Sense application I have a link which also works within the application.

The link opens a specific web page.

As soon as I now distribute the table in NP the defined name is stored as hyperlink, the actual link to the web page is no longer present.

I was able to reproduce this with a small example.

In the attachment still two pictures for this.

Greetings

Frank_S
Support

Ok it seems clearer now but just to confirm.

 

You want to see the actual link ie: www.google.com

rather than 'Link'

Is that correct?

Does clicking 'Link' still take you to the expected web address? or does it fail to redirect you to the intended internet address entirely?

Lastly,

Make sure to check that the table object is up to date:

  • Refresh the NPrinting Connection
  • Right click on the table object in the NPrinting Designer
  • click 'Update'

Perhaps this solves the issue?

Thanks!

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Danijel
Partner - Creator III
Author

Hello @Frank_S ,

I would like to see the term "link", but behind it should be the hyperlink to www.google.com.

So, when I click on the link, the page from google should open.

Currently, only the browser with the address "Link" is opened here, as seen in the second image.

I have already updated the metadata several times, as well as the table within the designer. I have also already re-added these several times.

Greetings

Ruggero_Piccoli
Support

Hi,

Did you already checked the following articles?

https://community.qlik.com/t5/Qlik-NPrinting-Discussions/Hyperlink-in-NPrinting-HTML-Report/td-p/161...

https://community.qlik.com/t5/Qlik-NPrinting-Documents/Dynamic-Links-in-Qlik-NPrinting-Reports-to-Se...

Best Regards,

Ruggero



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
Danijel
Partner - Creator III
Author

Hi @Ruggero_Piccoli 

yes the posts I had found before, unfortunately they do not help me here.

I have a field in which the complete URL is stored, nothing needs to be transformed or added here.

I have already tested with the formulas. Unfortunately without success.

If necessary, I can also attach a QA sample app with NP report.

Greetings

Frank_S
Support

@Danijel

Yes, please share a sample and I will be happy to test.

Kind regards...

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Danijel
Partner - Creator III
Author

thanks @Frank_S 

attached the Qlik Sense application and the NPrinting report.

Thank you.

Frank_S
Support

Hi @Ruggero_Piccoli

I have test this many different ways and it is not working where inserting the URL field produces an active link.

I also tried 

  • Switching to 'text' rather than 'link' representation in the source QVF and still get the same output.
  • <a href="url">link text</a> in the html editor but I only get 'url' not the website as expected.

Clicking either website link generated the browser output on the bottom right corner of the image below.
Perhaps you have have a look at this one...thx!

Export NP report with external URLs.PNG

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!