<?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: Define globale variable for fileshare as source document folder in Archived Groups</title>
    <link>https://community.qlik.com/t5/Archived-Groups/Define-globale-variable-for-fileshare-as-source-document-folder/m-p/1335184#M741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul, as the global variable mapping is dynamic (and validated during every reload) the mapping URL will be the one used when opening the application, if you create a mapped drive and reload the mapped path will be used. So to use the UNC path you need to open and reload the app using the UNC path &lt;A _jive_internal="true" href="https://community.qlik.com/thread/264960" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0066cc;"&gt;\\chqlikviewdev\QlikDev\&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; (you can paste the url in the explorer window). This logic is created so that you can move applications between containers without the need to change any parameters, and using unc or fixed drive should not make any difference as QDF takes the url that is available at the moment. hope that this helps.&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;Best regards&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;Magnus&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Aug 2017 07:20:24 GMT</pubDate>
    <dc:creator>Magnus_Berg</dc:creator>
    <dc:date>2017-08-21T07:20:24Z</dc:date>
    <item>
      <title>Define globale variable for fileshare as source document folder</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Define-globale-variable-for-fileshare-as-source-document-folder/m-p/1335180#M737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In our QlikView Server Installation we use a D&lt;SPAN lang="DE-CH" style="color: black; font-family: 'Segoe UI',sans-serif; font-size: 10pt;"&gt;NS alias pointing to server file share to provide the users access to the source document folder. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="DE-CH" style="color: black; font-family: 'Segoe UI',sans-serif; font-size: 10pt;"&gt;Having linked this fileshare to a local drive on my Windows PC the Deployment Framework script running during reloading the application creates global variables starting with the local drive. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="DE-CH" style="color: black; font-family: 'Segoe UI',sans-serif; font-size: 10pt;"&gt;Examples are shown in this screenshot of variable overview:&lt;BR /&gt;&lt;/SPAN&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/167663_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt; How can I define the fileshare as global variable within QDF to get this variable used instead of the local drive within the load script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Paul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2025 17:59:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Define-globale-variable-for-fileshare-as-source-document-folder/m-p/1335180#M737</guid>
      <dc:creator />
      <dc:date>2025-07-22T17:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Define globale variable for fileshare as source document folder</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Define-globale-variable-for-fileshare-as-source-document-folder/m-p/1335181#M738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;First appologies for my missing Netiquette.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Meanwhile I found that creating the variable record "vG.RootPath" with the DNS alias as variable value&amp;nbsp; in Custom.Variables.csv of&amp;nbsp; Administration Container 0.Administration\3.Include\1.BaseVariable helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for willing to help.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Paul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 11:18:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Define-globale-variable-for-fileshare-as-source-document-folder/m-p/1335181#M738</guid>
      <dc:creator />
      <dc:date>2017-06-22T11:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Define globale variable for fileshare as source document folder</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Define-globale-variable-for-fileshare-as-source-document-folder/m-p/1335182#M739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Paul for late reply, totally missed your request &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&amp;nbsp; Every time the QDF initiation script is executed a global variable validation is taking place, automatically validating the mappings. So if you open and load an application using a UNC/DNS path (\\Server\share) these url's would replace the mapped z:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From 1.7 there is a variable cache introduced to minimize script execution, so if you execute using a UNC path but still have the Z path available the cache will not remap the global variables (instead reuse z:). You can disable the cache by adding the rows before initiation:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;set &lt;/SPAN&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: gray;"&gt;vG.BasePath=;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;set &lt;/SPAN&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: gray;"&gt;vG.SharedBasePath=;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: gray;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;From the reference guide:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;H2 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Clear Initiation Cache&lt;/H2&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;To speed up initiation, a variable cache function has been introduced (v1.7 and later). The cache will validate the &lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Home&lt;/EM&gt; and &lt;EM style="font-weight: inherit; font-family: inherit;"&gt;shared&lt;/EM&gt; container root path, if path is the same as last initiation then old global variables will be used. When the cache is used, these lines appear in log and output window. &lt;BR /&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: #595959; background-position: initial;"&gt;'### QDF Info, Global Variables using cache' &lt;BR /&gt;'### QDF Info, Shared Global Variables using cache'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;To override the cache function, add these lines before the initiation script.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;set &lt;/SPAN&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: gray;"&gt;vG.BasePath=;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;set &lt;/SPAN&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: gray;"&gt;vG.SharedBasePath=;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Aug 2017 08:10:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Define-globale-variable-for-fileshare-as-source-document-folder/m-p/1335182#M739</guid>
      <dc:creator>Magnus_Berg</dc:creator>
      <dc:date>2017-08-18T08:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Define globale variable for fileshare as source document folder</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Define-globale-variable-for-fileshare-as-source-document-folder/m-p/1335183#M740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Magnus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;My Approach to get the global variables filled with UNC path instead of Z: drive is certainly wrong. But I do not find the mistake.&lt;/P&gt;&lt;P&gt;I do the following steps:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;From a Basic colleague I received the UNC/DNS path &lt;A href="https://community.qlik.com/"&gt;\\chqlikviewdev\QlikDev\&lt;/A&gt; to the source document folder of the Server Environment.&lt;/LI&gt;&lt;LI&gt;I use Windows function "Map Network drive" to create a Network drive like "P:" (I intentionally use different characters on each attempt to see what was processed by QDF.)&lt;/LI&gt;&lt;LI&gt; I drop down to the application folder of my Container&lt;BR /&gt;For example "P:\099.IT_Services\003.Process_analysis\002.Lab_Overview\001.Applications\1.Application"&lt;/LI&gt;&lt;LI&gt;Start the QlikView application with doubleklick on the QVW file. (In this example&amp;nbsp; "Lab_Overview_Application.qvw") and&lt;/LI&gt;&lt;LI&gt;Run the reload.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;As result the global variables are filled with the path from the local Network drive. For example variable "vG.ColorSchemePath" is filled with "P:\099.IT_Services\003.Process_analysis\002.Lab_Overview\001.Applications\3.Include\5.ColorScheme\"&lt;/P&gt;&lt;P&gt;How can I tell the QDF to use the UNC/DNS path &lt;A href="https://community.qlik.com/"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;\\chqlikviewdev\QlikDev\&lt;/SPAN&gt;&lt;/A&gt; instead of the local Network drive?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do I do wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a global variable that I can fill with the UNC/DNS path &lt;A href="https://community.qlik.com/"&gt;file://chqlikviewdev/QlikDev/&lt;/A&gt;in the QDF Administration Settings or in the Management Console to get it used instead of the locally mapped drive?&lt;/P&gt;&lt;P&gt;My try with "vG.RootPath" did not work out well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adding the commands&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: blue; font-family: 'Courier New'; font-size: 9pt; font-style: inherit; font-weight: inherit;"&gt;set &lt;/SPAN&gt;&lt;EM style="font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="color: gray; font-family: 'Courier New'; font-size: 9pt; font-style: inherit;"&gt;vG.BasePath=;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;STRONG style="font-family: inherit; font-style: inherit;"&gt;&lt;SPAN lang="EN-US" style="color: blue; font-family: 'Courier New'; font-size: 9pt; font-style: inherit; font-weight: inherit;"&gt;set &lt;/SPAN&gt;&lt;EM style="font-family: inherit; font-weight: inherit;"&gt;&lt;SPAN lang="EN-US" style="color: gray; font-family: 'Courier New'; font-size: 9pt; font-style: inherit; font-weight: inherit;"&gt;vG.SharedBasePath=;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: inherit; font-style: inherit;"&gt;unfortunately does not help.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Background of my attemts is to get the loading done &lt;BR /&gt;- Independent of the Network drive Definitions of&amp;nbsp; the different user and&lt;/P&gt;&lt;P&gt;- without changes when the reload is done by the Management console job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Paul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Aug 2017 16:00:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Define-globale-variable-for-fileshare-as-source-document-folder/m-p/1335183#M740</guid>
      <dc:creator />
      <dc:date>2017-08-18T16:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Define globale variable for fileshare as source document folder</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Define-globale-variable-for-fileshare-as-source-document-folder/m-p/1335184#M741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul, as the global variable mapping is dynamic (and validated during every reload) the mapping URL will be the one used when opening the application, if you create a mapped drive and reload the mapped path will be used. So to use the UNC path you need to open and reload the app using the UNC path &lt;A _jive_internal="true" href="https://community.qlik.com/thread/264960" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0066cc;"&gt;\\chqlikviewdev\QlikDev\&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; (you can paste the url in the explorer window). This logic is created so that you can move applications between containers without the need to change any parameters, and using unc or fixed drive should not make any difference as QDF takes the url that is available at the moment. hope that this helps.&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;Best regards&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;Magnus&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 07:20:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Define-globale-variable-for-fileshare-as-source-document-folder/m-p/1335184#M741</guid>
      <dc:creator>Magnus_Berg</dc:creator>
      <dc:date>2017-08-21T07:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Define globale variable for fileshare as source document folder</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Define-globale-variable-for-fileshare-as-source-document-folder/m-p/1335185#M742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Magnus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;I tried as you explained and it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Entering the UNC path in the address toolbar of Windows Explorer opens it as node in the Network tree.&lt;/P&gt;&lt;P&gt;And here I can drill down and start the QVD just as with the device letters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my problem was more handling Windows proper than managing QDF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Paul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 08:03:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Define-globale-variable-for-fileshare-as-source-document-folder/m-p/1335185#M742</guid>
      <dc:creator />
      <dc:date>2017-08-21T08:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Define globale variable for fileshare as source document folder</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Define-globale-variable-for-fileshare-as-source-document-folder/m-p/1335186#M743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great Paul, that everything worked out. Could you please apply &lt;SPAN style="font-size: 13.3333px;"&gt;"Correct Answer" to&lt;/SPAN&gt; this discussion. Thx /Magnus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 09:48:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Define-globale-variable-for-fileshare-as-source-document-folder/m-p/1335186#M743</guid>
      <dc:creator>Magnus_Berg</dc:creator>
      <dc:date>2017-08-22T09:48:49Z</dc:date>
    </item>
  </channel>
</rss>

