Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Error on link <url> with & symbol

Dear all,

I have a problem creating a link <url> on Graphic - Simple table.

I'm creating that link dinamically. For Expample '<url>http://www.website.com/page.html?s=1&....'

When I do a click on QV, It' redirects me to

http://www.website.com/page.html?s=1%26

QV replaces & symbol to %26.

Has anyone any idea how to solve it?

Best regards

12 Replies
boorgura
Specialist
Specialist

Where exactly are you putting the url in?

If it is in an expression or some object you concatenate using the ascii equivalent.

ASCII equivalent for & is '038'. So you can use chr(38) in place of '&'.

Let me know if that works.

Thanks.

Not applicable
Author

So where's the problem?

%26 is a code for & symbol and most browsers can understand it.

If, for some reasons this don't work, try to concatenate with chr(38) in place of & symbol

Regards,

Andris

Not applicable
Author

It doesn't work, server needs & and not %26.

If I put chr(38) I get same error

Not applicable
Author

Try

&amp;


This is the HTML equivalent for an ampersand.

Not applicable
Author

I have a test application where I look up users on LinkedIn, here is my code for the URL expression, and it seems to work for me:


='LinkedIn'&''&'http://www.linkedin.com/search?search=&lname=' & [Last Name] & '&fname=' & [First Name] & '&company


Not applicable
Author

It doesn't work

It's a calculated field.

If I put '<url>' when I click field systems try to open website changing & to %26

if I put text without '<url>' text appears correctly.

If I change Link to image without '<url>' (Normal - It's not a link) - Image opens correctly.

Personal Edition 9.0.7436.9 SR3

Thanks for your help

Not applicable
Author

I have tested some chars and I have problems from chr(32) to chr(44).

All of them are replaced. Any suggestion

Jason_Michaelides
Partner - Master II
Partner - Master II

Did you ever solve this?  I am having exactly the same issue with my 3rd party server needing a '#' in the URL but QV is changing it to %23, which doesn't work.

Jason_Michaelides
Partner - Master II
Partner - Master II

FYI - I raised this with QTech support and it has just been confirmed as a bug (BugNr#35624) and will be fixed in a "future release".  Not sure when...