<?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: Macro to detect if IEPlugin or AJAX is used in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-to-detect-if-IEPlugin-or-AJAX-is-used/m-p/463521#M173105</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please show me the detailed steps that how to use &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ActiveDocument.GetApplication.QTProduct&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jan 2014 09:07:27 GMT</pubDate>
    <dc:creator>alex_stone</dc:creator>
    <dc:date>2014-01-09T09:07:27Z</dc:date>
    <item>
      <title>Macro to detect if IEPlugin or AJAX is used</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-detect-if-IEPlugin-or-AJAX-is-used/m-p/463515#M173099</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;In a VBScript macro, I want to do something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13492792258913467" jivemacro_uid="_13492792258913467"&gt;&lt;P&gt;If viewedWithIEPlugin then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; doAction1;&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; doAction2;&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 15:08:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-detect-if-IEPlugin-or-AJAX-is-used/m-p/463515#M173099</guid>
      <dc:creator />
      <dc:date>2012-10-03T15:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to detect if IEPlugin or AJAX is used</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-detect-if-IEPlugin-or-AJAX-is-used/m-p/463516#M173100</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;You should be able to use the ClientPlatform( ) function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Returns the name of the platform the client is using, for example, &lt;EM&gt;&lt;SPAN class="Code"&gt;Mobile.iPhone&lt;/SPAN&gt;.&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;All mobile clients start with Mobile, a period sign and the type of mobile device. Clients using AJAX will return Browser.Nameofbrowser, for example &lt;EM&gt;&lt;SPAN class="Code"&gt;Browser.Firefox&lt;/SPAN&gt;&lt;/EM&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Plugin or Standalone QV the returned value will be blank (which should allow you to target these clients as well with a separate action).&lt;/P&gt;&lt;P&gt;From the F1 help:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"The function will only return the client type for those clients using the QVPX protocol, that is the mobile clients and the AJAX client."&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 02:03:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-detect-if-IEPlugin-or-AJAX-is-used/m-p/463516#M173100</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-04T02:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to detect if IEPlugin or AJAX is used</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-detect-if-IEPlugin-or-AJAX-is-used/m-p/463517#M173101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot I'll try that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 07:36:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-detect-if-IEPlugin-or-AJAX-is-used/m-p/463517#M173101</guid>
      <dc:creator />
      <dc:date>2012-10-04T07:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to detect if IEPlugin or AJAX is used</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-detect-if-IEPlugin-or-AJAX-is-used/m-p/463518#M173102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was unable to use ClientPlatform() from a VBScript macro, even when stored in a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead I used ActiveDocument.GetApplication.QTProduct and it worked for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 13:22:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-detect-if-IEPlugin-or-AJAX-is-used/m-p/463518#M173102</guid>
      <dc:creator />
      <dc:date>2012-10-04T13:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to detect if IEPlugin or AJAX is used</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-detect-if-IEPlugin-or-AJAX-is-used/m-p/463519#M173103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ClientPlatform() function returns a blank value for IE Plugin and Standalone client. Below macro should give you the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function GetClientPlatform&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Platform = ActiveDocument.Evaluate("ClientPlatform()")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if isnull(Platform) or Len(Platform)=0 then&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GetClientPlatform = "Plugin or Standalone Platform"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Msgbox("Plugin or Standalone Platform")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GetClientPlatform = Platform&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Msgbox(Platform)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end if&lt;BR /&gt;end function &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 15:53:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-detect-if-IEPlugin-or-AJAX-is-used/m-p/463519#M173103</guid>
      <dc:creator />
      <dc:date>2012-11-09T15:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to detect if IEPlugin or AJAX is used</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-detect-if-IEPlugin-or-AJAX-is-used/m-p/463520#M173104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't know about this "evaluate" function but it seems to be quite useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 13:31:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-detect-if-IEPlugin-or-AJAX-is-used/m-p/463520#M173104</guid>
      <dc:creator />
      <dc:date>2012-11-19T13:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to detect if IEPlugin or AJAX is used</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-detect-if-IEPlugin-or-AJAX-is-used/m-p/463521#M173105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please show me the detailed steps that how to use &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ActiveDocument.GetApplication.QTProduct&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 09:07:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-detect-if-IEPlugin-or-AJAX-is-used/m-p/463521#M173105</guid>
      <dc:creator>alex_stone</dc:creator>
      <dc:date>2014-01-09T09:07:27Z</dc:date>
    </item>
  </channel>
</rss>

