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: 
Anonymous
Not applicable

Qlik appends '#' when .Clear() Javascript API function used. Bug?

Hello All,

Let's say we have an application 'NoConnectionIssue.qvw' available via this URL:

http://qvserver/QvAJAXZfc/opendoc.htm?document=NoConnectionIssue.qvw

The app contains the extension object displaying one single link to invoke 'Clear All' function.

It's achieved by the following Javascript code: Qv.GetCurrentDocument().Clear();


Now, when I click this link for the first time Qlik appends the '#' sign to the original URL.

So, in case of our example it will look like this:

http://qvserver/QvAJAXZfc/opendoc.htm?document=NoConnectionIssue.qvw#

If I reload the app now (F5 or Ctrl+F5) I'd get the error message 'No Connection', which is correct since the URL is incorrect.

I tried to find a similar post on community with no luck.

I hope there is someone who had to deal with the issue before and knows how to fix it. If not then I shall raise it as a bug with QlikTech.

Please, see attached files for the example files: NoConnectionIssue.qvw app, NoConnection.qar extension object.

Many thanks in advance for your help.

Janusz Twardziak

0 Replies