<?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 A macro does't run in the web version in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/A-macro-does-t-run-in-the-web-version/m-p/1074620#M1254919</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done a macro which runs correctly in the desktop but it doesn't in the web version.I suppose that I should change the security set up in the server. Does anyone knows a document that gives an introduction to change the server set up?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>A macro does't run in the web version</title>
      <link>https://community.qlik.com/t5/QlikView/A-macro-does-t-run-in-the-web-version/m-p/1074620#M1254919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done a macro which runs correctly in the desktop but it doesn't in the web version.I suppose that I should change the security set up in the server. Does anyone knows a document that gives an introduction to change the server set up?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-macro-does-t-run-in-the-web-version/m-p/1074620#M1254919</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: A macro does't run in the web version</title>
      <link>https://community.qlik.com/t5/QlikView/A-macro-does-t-run-in-the-web-version/m-p/1074621#M1254922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are quite a few macro functions that will work in the desktop but will not work in the server. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To grant System Access to a macro on server, the setting is in the QMC Server, Security pane: "Allow unsafe macro execution on server". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 18:37:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-macro-does-t-run-in-the-web-version/m-p/1074621#M1254922</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-01-26T18:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: A macro does't run in the web version</title>
      <link>https://community.qlik.com/t5/QlikView/A-macro-does-t-run-in-the-web-version/m-p/1074622#M1254926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Rob!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is the following, do you know if is something in there that is not helping to run in in web?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub ws&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Create fixed url&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; Const HOST = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://xx.com/xx/cgi-bin/isaweb/me_request.cgi?USER_ID=11&amp;amp;CRC32PWD=2601988992&amp;amp;REQUEST_TYPE=1&amp;amp;SHOT_TYPE=1&amp;amp;" rel="nofollow"&gt;https://xx.com/xx/cgi-bin/isaweb/me_request.cgi?USER_ID=11&amp;amp;CRC32PWD=2601988992&amp;amp;REQUEST_TYPE=1&amp;amp;SHOT_TYPE=1&amp;amp;&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Obtain dynamic url&lt;/P&gt;&lt;P&gt;&amp;nbsp; set fld = ActiveDocument.GetField("generated_url")&lt;/P&gt;&lt;P&gt;&amp;nbsp; me_url = ActiveDocument.Evaluate("trim(generated_url)") ' Get selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Create the xmlhttp object&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set xmlhttp = CreateObject("Microsoft.XMLHTTP")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Call HTTP with the method "GET" enviando url generado&lt;/P&gt;&lt;P&gt;&amp;nbsp; xmlhttp.Open "GET", HOST &amp;amp; me_url, true&lt;/P&gt;&lt;P&gt;&amp;nbsp; xmlhttp.send ""&lt;/P&gt;&lt;P&gt;&amp;nbsp; msgbox("ZIP Descargado")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Create temporal file to save the xml&lt;/P&gt;&lt;P&gt;&amp;nbsp; Path = ActiveDocument.Evaluate("left(DocumentPath(), index(DocumentPath(), '\', -1))")&lt;/P&gt;&lt;P&gt;' FileName = Path &amp;amp; "XMLOutput.xml"&lt;/P&gt;&lt;P&gt;&amp;nbsp; FileName = "XMLOutput.xml"&lt;/P&gt;&lt;P&gt;&amp;nbsp; set fso = CreateObject("Scripting.FileSystemObject")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set s = fso.CreateTextFile(FileName, True)&lt;/P&gt;&lt;P&gt;&amp;nbsp; s.writeline(xmlhttp.responseText)&lt;/P&gt;&lt;P&gt;&amp;nbsp; ActiveDocument.Variables("request_me").SetContent xmlhttp.responseText,True&lt;/P&gt;&lt;P&gt;&amp;nbsp; APPLICATION.SLEEP(100)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; s.Close()&amp;nbsp; &lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 16:54:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-macro-does-t-run-in-the-web-version/m-p/1074622#M1254926</guid>
      <dc:creator />
      <dc:date>2016-01-27T16:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: A macro does't run in the web version</title>
      <link>https://community.qlik.com/t5/QlikView/A-macro-does-t-run-in-the-web-version/m-p/1074623#M1254930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need System Access for this macro, so you will need to set the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; "Allow unsafe macro execution on server" in QMC. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've never tried to write to the filesystem from a server macro, so I don't know if that will work. Perhaps someone else can confirm. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see at least one problem. On the server, "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DocumentPath()" returns the document URL, not a filepath. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you launching this macro from a user button click?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 17:20:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-macro-does-t-run-in-the-web-version/m-p/1074623#M1254930</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-01-27T17:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: A macro does't run in the web version</title>
      <link>https://community.qlik.com/t5/QlikView/A-macro-does-t-run-in-the-web-version/m-p/1074624#M1254933</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;Check this,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt; In the server environment, some macros will not work, according to its design. Anyway, there are two points worth noting:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;LI&gt;Make sure you are granting System Access to your macros in the server through QEMC (System, Setup, QlikView Servers, expand and click, Seucrity tab in the right pane "Allow unsafe macro execution on server" and "Allow macro execution on server" ticked) and in the Macro editor, (Ctrl + M, bottom left drop downs)&lt;/LI&gt;&lt;LI&gt;If they are creating some filesystem object (such an excel file) make sure you are using the IE Plugin.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;Hirish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 18:20:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-macro-does-t-run-in-the-web-version/m-p/1074624#M1254933</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2016-01-27T18:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: A macro does't run in the web version</title>
      <link>https://community.qlik.com/t5/QlikView/A-macro-does-t-run-in-the-web-version/m-p/1074625#M1254936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I am launching the macro from a user button clic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the advise about the DocumentPath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 09:25:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-macro-does-t-run-in-the-web-version/m-p/1074625#M1254936</guid>
      <dc:creator />
      <dc:date>2016-01-28T09:25:17Z</dc:date>
    </item>
  </channel>
</rss>

