Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
Not applicable

Can you create a conditional show based off of being in web view?

I have created a map in Qlikmaps and had to make my own key. I don't like the look of the key unless the map is there, so I was hoping to create a conditional show so that it only shows when it is in web view or on the server. I haven't seen any functions that could check that information, so I was seeing if anyone has ever done it before.

4 Replies
massimilianoruf
New Contributor II

Re: Can you create a conditional show based off of being in web view?

Hi Trey,

have you found any workaround for this?

I have the same issue...

Massimiliano

Re: Can you create a conditional show based off of being in web view?

Here is the condition I use to determine if I'm on the server. I check the document path for "\" (fielsystem) or "/" (server http://)

=index(DocumentPath(),'\')>0     // Filesystem

=index(DocumentPath(),'/')>0     // Http

Not applicable

Re: Can you create a conditional show based off of being in web view?

I ended up incorporating my key into a list box following this guide:

Visualization | Qlikview Cookbook

Re: Can you create a conditional show based off of being in web view?

That looks like a very useful blog post! I'm glad it solved your issue.

-Rob

Community Browser