<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Checking which client is being used on Open in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Checking-which-client-is-being-used-on-Open/m-p/386425#M144313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a trick. You can use the expression &lt;EM&gt;&lt;STRONG&gt;ClientPlatform() &amp;lt;&amp;gt; ''&lt;/STRONG&gt;&lt;/EM&gt; as conditional expression for your switch button (properties-&amp;gt;layout-&amp;gt;show conditional expression). If the client is IE Plugin or Fat client, the ClientPlatform() returns an empty string. All other versions - like the web client - will return a valid string. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sacho&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 May 2013 13:52:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-20T13:52:55Z</dc:date>
    <item>
      <title>Checking which client is being used on Open</title>
      <link>https://community.qlik.com/t5/QlikView/Checking-which-client-is-being-used-on-Open/m-p/386424#M144312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to check to see if the user is using web or application? I'mcreating a button that will open another Qlikview document, however depending o whether they are using the web or application will determin the path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 12:57:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Checking-which-client-is-being-used-on-Open/m-p/386424#M144312</guid>
      <dc:creator />
      <dc:date>2013-05-20T12:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Checking which client is being used on Open</title>
      <link>https://community.qlik.com/t5/QlikView/Checking-which-client-is-being-used-on-Open/m-p/386425#M144313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a trick. You can use the expression &lt;EM&gt;&lt;STRONG&gt;ClientPlatform() &amp;lt;&amp;gt; ''&lt;/STRONG&gt;&lt;/EM&gt; as conditional expression for your switch button (properties-&amp;gt;layout-&amp;gt;show conditional expression). If the client is IE Plugin or Fat client, the ClientPlatform() returns an empty string. All other versions - like the web client - will return a valid string. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sacho&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 13:52:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Checking-which-client-is-being-used-on-Open/m-p/386425#M144313</guid>
      <dc:creator />
      <dc:date>2013-05-20T13:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Checking which client is being used on Open</title>
      <link>https://community.qlik.com/t5/QlikView/Checking-which-client-is-being-used-on-Open/m-p/386426#M144314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks for that, but it doesn't help me as we use the pugin and i need to determin whether its using the application or a browser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 14:18:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Checking-which-client-is-being-used-on-Open/m-p/386426#M144314</guid>
      <dc:creator />
      <dc:date>2013-05-20T14:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Checking which client is being used on Open</title>
      <link>https://community.qlik.com/t5/QlikView/Checking-which-client-is-being-used-on-Open/m-p/386427#M144315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The DocumentPath() function returns the path and name of the current document. Perhaps you could use this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 14:44:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Checking-which-client-is-being-used-on-Open/m-p/386427#M144315</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-05-20T14:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Checking which client is being used on Open</title>
      <link>https://community.qlik.com/t5/QlikView/Checking-which-client-is-being-used-on-Open/m-p/386428#M144316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the solution from Jonathan could be useful. Another approach are macros. First you have to create a variable called &lt;STRONG&gt;vIsAjaxClient&lt;/STRONG&gt;. Now you implement the following &lt;STRONG&gt;macro&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;'*************************************************************&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;function isAjaxClient&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;'*************************************************************&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; on error resume next&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fMode =&amp;nbsp;&amp;nbsp;&amp;nbsp; true&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fMode = ActiveDocument.GetApplication.GetUserPreferences.UseAjaxUI&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.Variables("vIsAjaxClient").SetContent fMode, true&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; isAjaxClient = fMode&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;end function&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you create a trigger (document property) for "on document open -&amp;gt; run macro -&amp;gt; &lt;STRONG&gt;isAjaxClient&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reopen your document. Now you are able to use a button with an action like this: &lt;/P&gt;&lt;P&gt;=if (&lt;STRONG&gt;vIsAjaxClient&lt;/STRONG&gt;&lt;SPAN&gt;, '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://lala.com"&gt;http://lala.com&lt;/A&gt;&lt;SPAN&gt;', '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://google.com"&gt;http://google.com&lt;/A&gt;&lt;SPAN&gt;')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an alternative the visibility (layout -&amp;gt; show conditional) of the button could be set via the variable &lt;STRONG&gt;vIsAjaxClient.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sacho&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 15:23:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Checking-which-client-is-being-used-on-Open/m-p/386428#M144316</guid>
      <dc:creator />
      <dc:date>2013-05-20T15:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Checking which client is being used on Open</title>
      <link>https://community.qlik.com/t5/QlikView/Checking-which-client-is-being-used-on-Open/m-p/386429#M144317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the easiest is to use the DocumentPath as these are different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THank you once agan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 15:29:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Checking-which-client-is-being-used-on-Open/m-p/386429#M144317</guid>
      <dc:creator />
      <dc:date>2013-05-20T15:29:19Z</dc:date>
    </item>
  </channel>
</rss>

