<?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 can we set path variables? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-we-set-path-variables/m-p/891024#M1017493</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right there Onno. The reason I mentioned absolute paths, is because Kishore mentioned that he might need to shift the qvw file to a different location, and not the entire structure, so this is quite an easy way to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;But still, even if we decide to go with absolute path, keeping al the variables externally into a table would be even better, rather than the script.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Apr 2015 12:16:52 GMT</pubDate>
    <dc:creator>Agis-Kalogiannis</dc:creator>
    <dc:date>2015-04-10T12:16:52Z</dc:date>
    <item>
      <title>How can we set path variables?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-we-set-path-variables/m-p/891020#M1017489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need in deep how to set the path vriables if we need to deploy the qwv like shifting the qwv to another location.What we need to do in Edit script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 06:52:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-we-set-path-variables/m-p/891020#M1017489</guid>
      <dc:creator />
      <dc:date>2015-04-10T06:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: How can we set path variables?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-we-set-path-variables/m-p/891021#M1017490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;with an example is good&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 06:54:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-we-set-path-variables/m-p/891021#M1017490</guid>
      <dc:creator />
      <dc:date>2015-04-10T06:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: How can we set path variables?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-we-set-path-variables/m-p/891022#M1017491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all if you just need to change the location of your qvw and not your datasources, using absolute paths is enough.&lt;/P&gt;&lt;P&gt;Just clear the checkbox that says Relative Paths next to the Table Files button in your script editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you definitely need to create a variable, then you can do it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET vPath = 'c:\data\qvw\';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then use this variable when you are loading your data files in the from statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(vPath)filename.xls&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Agis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 08:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-we-set-path-variables/m-p/891022#M1017491</guid>
      <dc:creator>Agis-Kalogiannis</dc:creator>
      <dc:date>2015-04-10T08:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: How can we set path variables?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-we-set-path-variables/m-p/891023#M1017492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would never work with absolute paths, sorry Agis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Work with the same directory structure (and test data sources) in both development, test and production environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can set a variable with starting points of your relative path (if you really have to adjust them, but best practice is work with the same structure in all environments) by using the "Directory" command.&lt;/P&gt;&lt;P&gt;You could than story this in a txt file and including this file in your script. If you than move your QVW to a new location, it will automatically point to a new include file which contains your new relative path starting point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps / is useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 09:51:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-we-set-path-variables/m-p/891023#M1017492</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2015-04-10T09:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: How can we set path variables?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-we-set-path-variables/m-p/891024#M1017493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right there Onno. The reason I mentioned absolute paths, is because Kishore mentioned that he might need to shift the qvw file to a different location, and not the entire structure, so this is quite an easy way to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;But still, even if we decide to go with absolute path, keeping al the variables externally into a table would be even better, rather than the script.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 12:16:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-we-set-path-variables/m-p/891024#M1017493</guid>
      <dc:creator>Agis-Kalogiannis</dc:creator>
      <dc:date>2015-04-10T12:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: How can we set path variables?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-we-set-path-variables/m-p/891025#M1017494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define a variables in ur first tab,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vDrive='\ur network path\QlikviewProd';&lt;/P&gt;&lt;P&gt;SET QVDPath = '\\ur network path\qvds Documents';&lt;/P&gt;&lt;P&gt;SET PublicSrcPath = '\\ur network path\qvws Documents';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use those variable throughout ur application scripts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xxxxxxxx&lt;/P&gt;&lt;P&gt;From tblname&lt;/P&gt;&lt;P&gt;CONCATENATE ($(vBASE_TableName)) LOAD * FROM $(vQvdFile) (qvd)&lt;/P&gt;&lt;P&gt;WHERE NOT exists($(vPK));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE $(vBASE_TableName) INTO $(vQvdFile);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE FOLDERS INTO [$(QVDPath)\CPA_FOLDERS.qvd];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like through out script u can use ur variables instituted of defining paths again and again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 12:54:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-we-set-path-variables/m-p/891025#M1017494</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-04-10T12:54:37Z</dc:date>
    </item>
  </channel>
</rss>

