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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register 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

.........