<?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: IndexDel function is not aligned in Archived Groups</title>
    <link>https://community.qlik.com/t5/Archived-Groups/IndexDel-function-is-not-aligned/m-p/1409199#M834</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Walter, will change this, next time it would be to add this into a branch on GitHub so we can trace the changes &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Reason why IndexDel not been looked at as that Qlik Sense does not allow for command line execution.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Magnus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Dec 2017 09:10:28 GMT</pubDate>
    <dc:creator>Magnus_Berg</dc:creator>
    <dc:date>2017-12-15T09:10:28Z</dc:date>
    <item>
      <title>IndexDel function is not aligned</title>
      <link>https://community.qlik.com/t5/Archived-Groups/IndexDel-function-is-not-aligned/m-p/1409198#M833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The IndexAdd function allows to specific the container name and index folder, but the IndexDel function only allow to specify the index folder. So if we specify same index folder with different container name, then the IndexDel function will delete both.&lt;/P&gt;&lt;P&gt;Besides, the IndexDel function is not working since the following code might be not updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;IndexDel function line 471:&lt;/P&gt;
&lt;P&gt;Call DoDir ('$(vL.QDF.SharedConfigPath)\$(vL.QDF.IndexFolderName)$(vL.QDF.IndexQVD)', '_tmp_DoDir', '', '','true'); //Dir of vL.QDF.IndexQVD file or directory&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;IndexAdd function line 95 - 107:&lt;/P&gt;
&lt;P&gt;//--- Create Index folders or filenames if using Qlik Sense----&lt;/P&gt;
&lt;P&gt;if '$(vL.QDF.IndexFolderName)' = '' then&amp;nbsp; //If no customized Index folder name is used&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; let vL.QDF.IndexFolderNameNew = '$(vL.QDF.ContainerPathName)$(vL.ContainerPathName)_$(vL.QDF.FolderName)';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;elseif '$(vL.ContainerPathName)' = '' then // If both customized Index folder name and customized container is active&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; let vL.QDF.IndexFolderNameNew = '$(vL.QDF.ContainerPathName)_$(vL.QDF.IndexFolderName)_$(vL.QDF.FolderName)';&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;else // If customized index folder name is used&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; let vL.QDF.IndexFolderNameNew = '$(vL.ContainerPathName)_$(vL.QDF.IndexFolderName)_';&lt;/P&gt;
&lt;P&gt;endif&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LET vL.QDF.ConfigPath = '$(vL.QDF.SharedConfigPath)Index\$(vL.QDF.IndexFolderNameNew)$(vL.QDF.QVDFileName).Index';&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Since the index file creation name consists of container name, index folder name and QVD file name, so the IndexDel will not work as it only consider index folder name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, it might need to update the IndexDel function by taking consider of container name or change the line 471 for a wild card before the index folder name as the follows:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;Call DoDir ('$(vL.QDF.SharedConfigPath)\*$(vL.QDF.IndexFolderName)$(vL.QDF.IndexQVD)', '_tmp_DoDir', '', '','true'); //Dir of vL.QDF.IndexQVD file or directory&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&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/IndexDel-function-is-not-aligned/m-p/1409198#M833</guid>
      <dc:creator>yip_walter</dc:creator>
      <dc:date>2025-07-22T17:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: IndexDel function is not aligned</title>
      <link>https://community.qlik.com/t5/Archived-Groups/IndexDel-function-is-not-aligned/m-p/1409199#M834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Walter, will change this, next time it would be to add this into a branch on GitHub so we can trace the changes &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Reason why IndexDel not been looked at as that Qlik Sense does not allow for command line execution.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Magnus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 09:10:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/IndexDel-function-is-not-aligned/m-p/1409199#M834</guid>
      <dc:creator>Magnus_Berg</dc:creator>
      <dc:date>2017-12-15T09:10:28Z</dc:date>
    </item>
  </channel>
</rss>

