<?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: How to take back up of editscript code from existing Load Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-take-back-up-of-editscript-code-from-existing-Load-Script/m-p/139107#M20777</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Than you for your conformation. I want some Clarification&amp;nbsp; is it requirement,&lt;/P&gt;&lt;P&gt;It is possible to export edit script&amp;nbsp; when I was using Binary load ".qvw file edit script" to store another file like .txt file with out using any macros means it is any script available to write in current Edit Script only like create System Tables creation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is possible Please let me know the script and give me the conformation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Bakshu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jul 2018 16:11:57 GMT</pubDate>
    <dc:creator>shaikbakshu</dc:creator>
    <dc:date>2018-07-30T16:11:57Z</dc:date>
    <item>
      <title>How to take back up of editscript code from existing Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-back-up-of-editscript-code-from-existing-Load-Script/m-p/139101#M20771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Troyansky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to qlikview,&lt;/P&gt;&lt;P&gt;I got an requirement form team,&lt;/P&gt;&lt;P&gt;If it is any Edit Script is available to export Edit Script to some another location like create system tables creation like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me to this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Bakshu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2018 12:58:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-back-up-of-editscript-code-from-existing-Load-Script/m-p/139101#M20771</guid>
      <dc:creator>shaikbakshu</dc:creator>
      <dc:date>2018-07-30T12:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to take back up of editscript code from existing Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-back-up-of-editscript-code-from-existing-Load-Script/m-p/139102#M20772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Can any one please suggest me to how to&amp;nbsp; write Edit script in Qlikviw to Export Edit script code into some other location."&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;if I understand correctly, you need to export your script and use it in another application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if yes, you need to go to your script editor, then "files", "export to a script file"&lt;/P&gt;&lt;P&gt;save your file as a *.qvs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can copy it's contenent then in any other application.&lt;/P&gt;&lt;P&gt;don't worry about the tabs, just copy the file contenent as it is and load the application, this will create your script tabs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it's helpfull&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2018 14:01:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-back-up-of-editscript-code-from-existing-Load-Script/m-p/139102#M20772</guid>
      <dc:creator>kfoudhaily</dc:creator>
      <dc:date>2018-07-30T14:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to take back up of editscript code from existing Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-back-up-of-editscript-code-from-existing-Load-Script/m-p/139103#M20773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khalil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your response,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually my requirement is I have some .QVW files, in this files I have "Edit Script" in this edit Script I have Connection string and Load Tables information are there. So when I was load this .QVW file into another .QVW file by using "Binary load" then automatically Edit Script will be stored into another location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;Binary(D:\Bakshu\QLIKVIEW\sample.qvw);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this "sample.qvw" file i have Load script , so my requirement is this sample.qvw file will load into another .qvw file like any datamodel.qvw file , when I was reload this datamodel.qvw file then automatically stored "sample.qvw" Edit Script into some another location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help me for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Bakshu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2018 14:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-back-up-of-editscript-code-from-existing-Load-Script/m-p/139103#M20773</guid>
      <dc:creator>shaikbakshu</dc:creator>
      <dc:date>2018-07-30T14:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to take back up of editscript code from existing Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-back-up-of-editscript-code-from-existing-Load-Script/m-p/139104#M20774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a macro like this:&lt;/P&gt;&lt;P&gt;Sub ExportQVSFile&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set docprop =&amp;nbsp; ActiveDocument.GetProperties&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wd = docprop.MyWorkingDirectory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wdEx = wd &amp;amp; "\Scripts\"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set&amp;nbsp; fileSystemObject = CreateObject("Scripting.FileSystemObject")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If&amp;nbsp; Not fileSystemObject.FolderExists(wdEx) Then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fileSystemObject.CreateFolder(wdEx)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set&amp;nbsp; fileSystemObject = Nothing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vPathApp = ActiveDocument.Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vCommandQt =&amp;nbsp; "substringcount(" &amp;amp; "'" &amp;amp; vPathApp &amp;amp;&amp;nbsp; "'" &amp;amp; ", '\') + 1"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; qt = ActiveDocument.Evaluate(&amp;nbsp; vCommandQt )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vCommandQvwExt =&amp;nbsp; "subfield(" &amp;amp; "'" &amp;amp; vPathApp &amp;amp; "'"&amp;nbsp; &amp;amp; ", '\'," &amp;amp; qt &amp;amp; " )"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vNameFileQVW =&amp;nbsp; ActiveDocument.Evaluate( vCommandQvwExt )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vCommandQVW = "subfield("&amp;nbsp; &amp;amp; "'" &amp;amp; vNameFileQVW &amp;amp; "'" &amp;amp; ", '.',&amp;nbsp; 1)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vNameFile = ActiveDocument.Evaluate(&amp;nbsp; vCommandQVW )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fPath = wdEx &amp;amp; vNameFile &amp;amp;&amp;nbsp; ".qvs"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set objFSO =&amp;nbsp; CreateObject("Scripting.FileSystemObject")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set objTextFile =&amp;nbsp; objFSO.OpenTextFile (fPath,2,True)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; objTextFile.Write(ActiveDocument.GetProperties.Script)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; objTextFile.Close()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgbox("Arquivo QVS exportado com sucesso!!")&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change some paths as you required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlikview.com/thread/278489" title="https://community.qlikview.com/thread/278489"&gt;export script into txt file | Qlik Community&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2018 14:27:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-back-up-of-editscript-code-from-existing-Load-Script/m-p/139104#M20774</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-07-30T14:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to take back up of editscript code from existing Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-back-up-of-editscript-code-from-existing-Load-Script/m-p/139105#M20775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bala,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for this post,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes it is working fine, but my requirement is I was load .QVW files into Binary load by using .bat file.&lt;/P&gt;&lt;P&gt;My Batch File is:&lt;/P&gt;&lt;P&gt;Batchfile1:&lt;/P&gt;&lt;P&gt;@ECHO OFF&lt;BR /&gt;setlocal enabledelayedexpansion&lt;BR /&gt;set /p Install="Enter QlikView installation directory : "&lt;BR /&gt;set /p QVW_Dir="Enter Dashboards source directory : "&lt;BR /&gt;set /p Target="Enter datamodel CSVs export directory : "&lt;BR /&gt;set /p QV="Enter QlikView script directory : "&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;for %%f in ("%QVW_Dir%\*.qvw") do (&lt;/P&gt;&lt;P&gt;&amp;nbsp; CALL CSV_DMGenerator-2.bat "%Install%" "%%~nf" "%QVW_Dir%" "%Target%" "%QV%"&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;pause&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Batchfile2:&lt;/P&gt;&lt;P&gt;echo Converting Data Model..................................&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;"%~1\Qv.exe" /r&amp;nbsp; "/vTab=%~2" "/vQVW_Dir=%~3" "/vQVD_Dir=%~5" "/vTarget=%~4" "/vQV=%~6" "%~5\datamodel.qvw"&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;BINARY&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[$(QVW_Dir)\$(Tab).qvw]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Above is the my Edit Script and .Bat file . &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;In this .Bat file we run looping like one .QVW file is completed then take another .QVW file like.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;i want to export Edit Script&amp;nbsp; from access Binary load .QVW file with out using Any MACRO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;So can you please help me for this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks and regard,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Bakshu.&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2018 14:55:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-back-up-of-editscript-code-from-existing-Load-Script/m-p/139105#M20775</guid>
      <dc:creator>shaikbakshu</dc:creator>
      <dc:date>2018-07-30T14:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to take back up of editscript code from existing Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-back-up-of-editscript-code-from-existing-Load-Script/m-p/139106#M20776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can load an entire data model from another QVW into the current document using the BINARY statement, but you cannot &lt;EM&gt;store&lt;/EM&gt; that same data model into a different QVW file depending on some name in some variable. Another issue may be that a QlikView document isn't stored on disk until &lt;EM&gt;after&lt;/EM&gt; the script has completed successfully. At that point, you are left with two choices: let an external program make a copy of your freshly reloaded QVW to the new location, or again use a macro triggered by a PostReload event that first stores the document and then copies it to the new location. But I'm not sure whether the latter is even possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2018 15:27:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-back-up-of-editscript-code-from-existing-Load-Script/m-p/139106#M20776</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-07-30T15:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to take back up of editscript code from existing Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-back-up-of-editscript-code-from-existing-Load-Script/m-p/139107#M20777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Than you for your conformation. I want some Clarification&amp;nbsp; is it requirement,&lt;/P&gt;&lt;P&gt;It is possible to export edit script&amp;nbsp; when I was using Binary load ".qvw file edit script" to store another file like .txt file with out using any macros means it is any script available to write in current Edit Script only like create System Tables creation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is possible Please let me know the script and give me the conformation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Bakshu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2018 16:11:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-back-up-of-editscript-code-from-existing-Load-Script/m-p/139107#M20777</guid>
      <dc:creator>shaikbakshu</dc:creator>
      <dc:date>2018-07-30T16:11:57Z</dc:date>
    </item>
  </channel>
</rss>

