<?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 execution in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-execution/m-p/887545#M309370</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good option I will try that and take a look and get my bosses approval, thank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But of course as I investigate and look at other operations that require Marcos I would like to solve have QEMC fire-off the macro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jun 2015 12:03:22 GMT</pubDate>
    <dc:creator>bjsellers57</dc:creator>
    <dc:date>2015-06-01T12:03:22Z</dc:date>
    <item>
      <title>Macro execution</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-execution/m-p/887539#M309364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an application that runs a Macro ‘Scramble’ encrypting certain fields of confidential data.&amp;nbsp; The application runs successfully by opening in QlikView and setting the trigger to OnPostReload Run Macro = Scramble.&amp;nbsp; I set the Security setting in the QVW to allow Macro Override Security.&amp;nbsp; I just run reload from QlikView and have a successful application pulling data and encrypting the confidential data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To Run in QEMC&lt;/P&gt;&lt;P&gt;I insure the server security is set to allow both ‘Allow unsafe macro execution on server’ and 'Allow macro execution on server’&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I create Supporting Tasks \ External Program to run the application in batch mode with the command line statement: &lt;/P&gt;&lt;P&gt;"F:\Program Files\QlikView\Qv.exe" /r \\ctscolnpqvs1\QvwStaging\ICS_EXTERNAL_DEMO\ICS-Demo-NC.qvw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application runs and the log file shows completion of the data loading for the application, but then hangs running the macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use the command line statement "F:\Program Files\QlikView\Distribution Service\&lt;SPAN style="font-family: 'Segoe UI','sans-serif'; color: black; font-size: 10pt;"&gt;QVDistributionService.exe&lt;/SPAN&gt;" -r=\\ctscolnpqvs1\QvwStaging\ICS_EXTERNAL_DEMO\ICS-Demo-NC.qvw.&lt;/P&gt;&lt;P&gt;This runs successfully, but does not execute the macro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know there have been several questions about firing-off macro’s in QEMC with both suggesting the batch command lines I have tried, but I can’t seem to get either of them to working.&amp;nbsp; Looking for additional suggestions on how to automate running a QlikView application and allowing the Macro’s to be executed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 10:53:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-execution/m-p/887539#M309364</guid>
      <dc:creator>bjsellers57</dc:creator>
      <dc:date>2015-06-01T10:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Macro execution</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-execution/m-p/887540#M309365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may be a silly question, but if the data is being scrambled, then is there a need to include the data, so can the fields just be removed?&lt;/P&gt;&lt;P&gt;If the data is required to associate tables, then can you use autonumber to convert the values to a different integer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 11:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-execution/m-p/887540#M309365</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-06-01T11:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Macro execution</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-execution/m-p/887541#M309366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the quick response Colin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I need to have this data in place, but scrambled&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have three applications with the same frontend so that the reporting structure remains in place (i.e. the main app used be exiting external customers, an external application to demo for existing customers, a new customer application).  To keep frontend reporting structure the same I actually pull live data in for two customers, the use some backend encryption and for the bulk of the data created the Scramble macro as it provides a method for scrambling the 50 fields I need to hide the confidential data.  This way new customers can view the application, get the look and feel of the real app and the two customer data I pull in remain secure and confidential&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Bernie Sellers&lt;/P&gt;&lt;P&gt;Analytical Consultant&lt;/P&gt;&lt;P&gt;(p)410.884.2182&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 11:26:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-execution/m-p/887541#M309366</guid>
      <dc:creator>bjsellers57</dc:creator>
      <dc:date>2015-06-01T11:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Macro execution</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-execution/m-p/887542#M309367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bernie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you seen this thread? &lt;A href="https://community.qlik.com/thread/8818"&gt;Keep data scrambled on reload&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/2286"&gt;rwunderlich&lt;/A&gt;‌ suggests using the hash128() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 11:40:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-execution/m-p/887542#M309367</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-06-01T11:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Macro execution</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-execution/m-p/887543#M309368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I liked the QlikView Scramble function because it retained more of the look and feel of the data structure for notes, names address and information I wanted to scramble.  It seem to make the data more realistic, but yes I could use hash(128), hash(160) or hash(254) as an option for encrypting data in the backend loading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bernie Sellers&lt;/P&gt;&lt;P&gt;Analytical Consultant&lt;/P&gt;&lt;P&gt;(p)410.884.2182&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 11:48:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-execution/m-p/887543#M309368</guid>
      <dc:creator>bjsellers57</dc:creator>
      <dc:date>2015-06-01T11:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Macro execution</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-execution/m-p/887544#M309369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use a keepchar() function around the hash function to convert text data just to text, and numeric data just to numbers, so the sense of the data is retained even though the detail is still scrambled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;keepchar(hash128(number_field), '0123456789')&lt;/P&gt;&lt;P&gt;keepchar(UPPER(hash128(text_field)), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ ')&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 11:53:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-execution/m-p/887544#M309369</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-06-01T11:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Macro execution</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-execution/m-p/887545#M309370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good option I will try that and take a look and get my bosses approval, thank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But of course as I investigate and look at other operations that require Marcos I would like to solve have QEMC fire-off the macro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 12:03:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-execution/m-p/887545#M309370</guid>
      <dc:creator>bjsellers57</dc:creator>
      <dc:date>2015-06-01T12:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Macro execution</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-execution/m-p/887546#M309371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Macros are best avoided when using QV Server.&lt;/P&gt;&lt;P&gt;I bow to the superior knowledge and advice of Henric Cronstrom on this topic. &lt;A href="https://community.qlik.com/qlik-blogpost/3700"&gt;Macros are Bad&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 12:08:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-execution/m-p/887546#M309371</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-06-01T12:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Macro execution</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-execution/m-p/887547#M309372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your macro requires System Access (I wasn't sure from your description), add the "NoSecurity" switch to your command line. &lt;/P&gt;&lt;P&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;"&gt;F:\Program Files\QlikView\Qv.exe" /r &lt;STRONG&gt;/NoSecurity&lt;/STRONG&gt; \\ctscolnpqvs1\QvwStaging\ICS_EXTERNAL_DEMO\ICS-Demo-NC.qvw&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;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com" rel="nofollow"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 17:15:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-execution/m-p/887547#M309372</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-06-01T17:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Macro execution</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-execution/m-p/887548#M309373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does your macro quit the QV application?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 19:26:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-execution/m-p/887548#M309373</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2015-06-01T19:26:10Z</dc:date>
    </item>
  </channel>
</rss>

