<?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 Load Script Export, Automate Macro Input in Qlik Automate</title>
    <link>https://community.qlik.com/t5/Qlik-Automate/Load-Script-Export-Automate-Macro-Input/m-p/1991445#M952</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have a macro below to store the load script of each &lt;LI-PRODUCT title="QlikView" id="qlikView"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;file. This is to help with traceability of data, as well as keeping some level of version-control/documentation of our load scripts (it's not easy to store QlikView apps within Git due to file sizes and running in QMC changes binaries so using something like GitHub desktop, it's never easy to see what's been updated and what hasn't. And creating -prj folder exports messes with production dashboards.)&lt;/P&gt;
&lt;P&gt;This macro works, however, I will need to go into several hundred QlikView apps, paste the macro, allow system access for macros, and add the trigger to run the macro. Is there any way to automate this process? Or is there any easier way to execute what I'm trying to accomplish?&lt;/P&gt;
&lt;P&gt;And a second question, we are running Qlikview 2017 SR3 v12.20.20400.0 - I only have four options for document triggers. Is there any way to add additional triggers (e.g. "OnSave"?)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Sub ExportLoadScript
	file = ActiveDocument.Evaluate("vFilepath")&amp;amp;ActiveDocument.Evaluate("vFilename")&amp;amp;".txt"
	Set objFSO = CreateObject("Scripting.FileSystemObject")
	Set objFile = objFSO.OpenTextFile(file, 2,True)
	objFile.Write(ActiveDocument.GetProperties.Script)
	objFile.Close()
End Sub&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Oct 2022 16:58:18 GMT</pubDate>
    <dc:creator>daniel_r</dc:creator>
    <dc:date>2022-10-11T16:58:18Z</dc:date>
    <item>
      <title>Load Script Export, Automate Macro Input</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Load-Script-Export-Automate-Macro-Input/m-p/1991445#M952</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have a macro below to store the load script of each &lt;LI-PRODUCT title="QlikView" id="qlikView"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;file. This is to help with traceability of data, as well as keeping some level of version-control/documentation of our load scripts (it's not easy to store QlikView apps within Git due to file sizes and running in QMC changes binaries so using something like GitHub desktop, it's never easy to see what's been updated and what hasn't. And creating -prj folder exports messes with production dashboards.)&lt;/P&gt;
&lt;P&gt;This macro works, however, I will need to go into several hundred QlikView apps, paste the macro, allow system access for macros, and add the trigger to run the macro. Is there any way to automate this process? Or is there any easier way to execute what I'm trying to accomplish?&lt;/P&gt;
&lt;P&gt;And a second question, we are running Qlikview 2017 SR3 v12.20.20400.0 - I only have four options for document triggers. Is there any way to add additional triggers (e.g. "OnSave"?)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Sub ExportLoadScript
	file = ActiveDocument.Evaluate("vFilepath")&amp;amp;ActiveDocument.Evaluate("vFilename")&amp;amp;".txt"
	Set objFSO = CreateObject("Scripting.FileSystemObject")
	Set objFile = objFSO.OpenTextFile(file, 2,True)
	objFile.Write(ActiveDocument.GetProperties.Script)
	objFile.Close()
End Sub&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 16:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Load-Script-Export-Automate-Macro-Input/m-p/1991445#M952</guid>
      <dc:creator>daniel_r</dc:creator>
      <dc:date>2022-10-11T16:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script Export, Automate Macro Input</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Load-Script-Export-Automate-Macro-Input/m-p/2046820#M1464</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/168026"&gt;@daniel_r&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It appears that this question has ended up in the wrong forum. In this forum we're able to help you with Qlik Application Automation related questions. Qlik Application Automation provides a no-code visual interface that helps you easily build automated analytics and data workflows.&amp;nbsp;&lt;BR /&gt;It would be great if you could post this question in the forum related to the product you are using and you will get help there.&lt;BR /&gt;Qlik View forum: &lt;A href="https://community.qlik.com/t5/qlikview/ct-p/qlikview" target="_blank"&gt;https://community.qlik.com/t5/qlikview/ct-p/qlikview&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 13:34:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Load-Script-Export-Automate-Macro-Input/m-p/2046820#M1464</guid>
      <dc:creator>J_Lindberg</dc:creator>
      <dc:date>2023-03-08T13:34:41Z</dc:date>
    </item>
  </channel>
</rss>

