Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi experts,
Is it possible to hide the extension of QlikView application .qvw in access point.
Generally when we published and opened the application through access point the app name is showing like test.qvw
instead of that i want to show test only.
Please suggest.
Well, I guess it is possible on condition that you know your way around some pretty heavy JavaScript code.
Have a look in file C:\Program Files\QlikView\Web\js\accessPoint.js. AFAIK function ap.writeList is the one dealing with displaying a document matrix/list. Somewhere in the middle (search for 'namewithflyout') you should add a call to a function that cuts the extension from the document name.
But don't mess with this file if you're not absolutely sure what you are doing...
Peter
Hi, Sudhakar,
Sorry not possible!
Thanks,
AS
Thank you...
This is exactly right. Here's the exact line with my modification:
Original:
p += '<a href="' + l + '" class="name" target="' + openDocSet + '">' + ap.encodeHTML($(this).attr("text")) "</a>"
Modified:
p += '<a href="' + l + '" class="name" target="' + openDocSet + '">' + ap.encodeHTML($(this).attr("text").slice(0,-4)) + "</a>"
Cannot believe you can't just do this in the Management Console for the Doc. Absurd really...
Nice. Very clean.
Peter