<?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 QV12 $Include and Directory in Archived Groups</title>
    <link>https://community.qlik.com/t5/Archived-Groups/QV12-Include-and-Directory/m-p/1165332#M3679</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just noted today that Include / Must_Include now respect the Directory statement. For example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assume My.qvw and a file config.txt in the same directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;DIRECTORY Data;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$(Must_Include=config.txt);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will work in QV11. The Directory statement does not affect the relative path of an include.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will fail in QV12 SR3 with the error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$(MUST_INCLUDE failed: C:\foo\Data\config.txt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;because it will look for the config.txt in the Data subfolder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any comments as to whether this is desirable, intentional or bug behavior? This will be a breaking change for many QV11 users. I find the Help unclear on the topic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is consistent with the change to Qvd*() functions respecting Directory. &lt;A href="http://qlikviewcookbook.com/2016/01/qv12-qvd-functions-respect-directory/" title="http://qlikviewcookbook.com/2016/01/qv12-qvd-functions-respect-directory/" target="_blank"&gt;QV12: QVD Functions Respect Directory | Qlikview Cookbook&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com/" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com/" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jul 2025 14:48:52 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2025-07-23T14:48:52Z</dc:date>
    <item>
      <title>QV12 $Include and Directory</title>
      <link>https://community.qlik.com/t5/Archived-Groups/QV12-Include-and-Directory/m-p/1165332#M3679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just noted today that Include / Must_Include now respect the Directory statement. For example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assume My.qvw and a file config.txt in the same directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;DIRECTORY Data;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$(Must_Include=config.txt);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will work in QV11. The Directory statement does not affect the relative path of an include.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will fail in QV12 SR3 with the error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$(MUST_INCLUDE failed: C:\foo\Data\config.txt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;because it will look for the config.txt in the Data subfolder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any comments as to whether this is desirable, intentional or bug behavior? This will be a breaking change for many QV11 users. I find the Help unclear on the topic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is consistent with the change to Qvd*() functions respecting Directory. &lt;A href="http://qlikviewcookbook.com/2016/01/qv12-qvd-functions-respect-directory/" title="http://qlikviewcookbook.com/2016/01/qv12-qvd-functions-respect-directory/" target="_blank"&gt;QV12: QVD Functions Respect Directory | Qlikview Cookbook&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com/" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com/" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2025 14:48:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/QV12-Include-and-Directory/m-p/1165332#M3679</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2025-07-23T14:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: QV12 $Include and Directory</title>
      <link>https://community.qlik.com/t5/Archived-Groups/QV12-Include-and-Directory/m-p/1165333#M3680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I noticed a similar issue with QV 12.10 SR6 where the directory function doesn't work. I can't find anything on the release notes so I am not sure if this was intentional or it is a bug. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Archi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 15:55:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/QV12-Include-and-Directory/m-p/1165333#M3680</guid>
      <dc:creator />
      <dc:date>2017-06-23T15:55:21Z</dc:date>
    </item>
  </channel>
</rss>

