Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to change a variable value if i am selecting webview?

Hi All,

I have a desktop application.

I need to assign the values for the variable like this,

If the application is used in dektop,then the value should be  0

if the application is used in webview ,then the value should be 1

How can i assign it?

How webview identified a variable and changed its value?

Can any one help me in this?

Any suggestions from you a great help for me.

Thanks...

4 Replies
erichshiino
Partner - Master
Partner - Master

Hi,

If you are using QV 10, you can use clientplatform()

Please, check this thread for further information:

http://community.qlik.com/message/107639#107639

Regards,

Erich

Not applicable
Author

Erich,

Thanks for the late reply because now only it is useful to me.

If i am using the IEPlug-In and when the application is opened in IE browser(IE9)

The function ClientPlatform() is not showing anything.

Please check it and share the solution.

Regards

......

erichshiino
Partner - Master
Partner - Master

Hi,

I suggest you also combine the results of qlikviewversion() and documentpath() for the cases where clientplatform() is blank

Hope this helps,

Erich

Not applicable
Author

Erich,

Thanks for your Help

I am getting like this.

=if(len(Subfield(DocumentPath(),':'))>3,'Web','Desktop')

Regards

.........