<?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: Can we have rename application using variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-we-have-rename-application-using-variable/m-p/868507#M303747</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have a data island and reduce on a field that has no relation to the rest of the data, I guess you would not practically reduce the actual data. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 May 2015 12:09:49 GMT</pubDate>
    <dc:creator>ToniKautto</dc:creator>
    <dc:date>2015-05-28T12:09:49Z</dc:date>
    <item>
      <title>Can we have rename application using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-have-rename-application-using-variable/m-p/868498#M303738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Qliktechies,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i have a question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we rename an application while saving the Qlikview application using a variable value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say i have a variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vAppName:- 'ABC'&lt;/P&gt;&lt;P&gt;//Let &lt;SPAN style="font-size: 13.3333330154419px;"&gt;vAppName:- 'DEF' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;//Let vAppName:- 'GHI'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And each time i uncomment one and comment the rest of two and reload the application will save with that variable name. &lt;/P&gt;&lt;P&gt;Here in this case after reloading the application it will be saved as ABC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me out with this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sunil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 10:32:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-have-rename-application-using-variable/m-p/868498#M303738</guid>
      <dc:creator>sunil2288</dc:creator>
      <dc:date>2015-05-28T10:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have rename application using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-have-rename-application-using-variable/m-p/868499#M303739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From inside the app it would be only per macro possible (unless you used manually F12):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.SaveAs "C:\Mydoc.qvw"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From an external point of view you could use a copy batch like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;copy „C:\MyApp“ „D:\Backup\MyAppXYZ“&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 11:15:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-have-rename-application-using-variable/m-p/868499#M303739</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-05-28T11:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have rename application using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-have-rename-application-using-variable/m-p/868500#M303740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you can use the ActiveDocument.SaveAs trick to block QlikView/QlikView Server from saving on top of the original document after a reload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In QlikView Server, the reload will be saved to a temporary file, after which the Distribution Service will copy the temporary file back to the origjnal QVW.AFAIK the Distribution Service doesn't care about executing macro's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you plan to interactively do a reload in QV Desktop, then adding a macro that is triggered after the reload will probably fit your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 11:23:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-have-rename-application-using-variable/m-p/868500#M303740</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-05-28T11:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have rename application using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-have-rename-application-using-variable/m-p/868501#M303741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That sounds a bit like lop and reduce in QlikView Publisher, where you get multiple output files based on values in a field. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 11:32:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-have-rename-application-using-variable/m-p/868501#M303741</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2015-05-28T11:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have rename application using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-have-rename-application-using-variable/m-p/868502#M303742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hej Marcus,&lt;BR /&gt;Thanks a lot for you quick reply&lt;BR /&gt;Is it possible to do something in the same script without doing it externally. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have declared the variable inside the Load script only. So accessing variable after reloading @Server won't be a problem. But i need to access the Qlikview Application name (May be it is metadata ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sunil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 11:40:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-have-rename-application-using-variable/m-p/868502#M303742</guid>
      <dc:creator>sunil2288</dc:creator>
      <dc:date>2015-05-28T11:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have rename application using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-have-rename-application-using-variable/m-p/868503#M303743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hej Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need this functionality of dynamically renaming the application which means i just have to comment\uncomment the variable value "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vAppName" and the application will be saved with the variable name after reloading the application in Server each time.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;It can't be solved using Loop &amp;amp; Reduce as i am not reducing the application based on any value..&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can you please help me with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sunil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 11:44:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-have-rename-application-using-variable/m-p/868503#M303743</guid>
      <dc:creator>sunil2288</dc:creator>
      <dc:date>2015-05-28T11:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have rename application using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-have-rename-application-using-variable/m-p/868504#M303744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Hej Toni,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Thanks for your reply!&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;I need this functionality of dynamically renaming the application which means i just have to comment\uncomment the variable value "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vAppName" and the application will be saved with the variable name after reloading the application in Server each time after reload.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;It can't be solved using Loop &amp;amp; Reduce as i am not reducing the application based on any value..&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;Can you please help me with this?&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Regards&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Sunil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 11:44:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-have-rename-application-using-variable/m-p/868504#M303744</guid>
      <dc:creator>sunil2288</dc:creator>
      <dc:date>2015-05-28T11:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have rename application using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-have-rename-application-using-variable/m-p/868505#M303745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not possible while the load-execution to save the qvw - also the macro from above won't work because the ActiveDocument didn't exist to that time. But you could create various qvd-output which could be load from these qvw's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the aim from these SaveAs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 11:49:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-have-rename-application-using-variable/m-p/868505#M303745</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-05-28T11:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have rename application using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-have-rename-application-using-variable/m-p/868506#M303746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Hi Sunil,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;How about running a batch script through "Supporting Tasks" or normal task which does the rename after the reload is completed? This way you're not deviating QDS core job of distributing and saving the document. This might be a workaround but I'm not keen on having these things on PROD environment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Hope this helps!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;www.QlikShare.com&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 11:58:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-have-rename-application-using-variable/m-p/868506#M303746</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2015-05-28T11:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have rename application using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-have-rename-application-using-variable/m-p/868507#M303747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have a data island and reduce on a field that has no relation to the rest of the data, I guess you would not practically reduce the actual data. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 12:09:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-have-rename-application-using-variable/m-p/868507#M303747</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2015-05-28T12:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have rename application using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-have-rename-application-using-variable/m-p/868508#M303748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Toni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not needed to load any data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is i have 3 different Servers from where the data is loading. When i change the name of the server , that time the application should also reflect that it is showing from that Server . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here in this case Variable '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vAppName' represents the Server name and as it is the Server name when i mention &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vAppName='ABC' ,&lt;/SPAN&gt;it will take that include file which contains ABC Server's connection string.&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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;At the same time it will also change the application name as ABC as it represents ABC Server's data.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;I hope i have clarified my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sunil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 13:44:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-have-rename-application-using-variable/m-p/868508#M303748</guid>
      <dc:creator>sunil2288</dc:creator>
      <dc:date>2015-05-28T13:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have rename application using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-have-rename-application-using-variable/m-p/868509#M303749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Such a SaveAs directly within the load isn't possible. You could only rename the file after the reload is finished - this could be done with batches or your app-updating will be controlled from another qvw per vbscript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As alternatively you could use for each server a different app. But is it not enough to display the server origin within the app maybe within a textbox which showed the server-name, load-time and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 14:39:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-have-rename-application-using-variable/m-p/868509#M303749</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-05-28T14:39:29Z</dc:date>
    </item>
  </channel>
</rss>

