<?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 Unable to use filelist call in Managed Spaces in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Unable-to-use-filelist-call-in-Managed-Spaces/m-p/1920476#M75766</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;I am working on the app that allows me to scan all QVDs in specific spaces in SaaS tenant.&lt;/P&gt;
&lt;P&gt;I am using the following code:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;for each Ext in 'qvs', 'qvf', 'qvd', 'xlsx', 'xls'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;for each File in filelist (Root&amp;amp;'/*.' &amp;amp;Ext)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;FullFilesList:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;'$(File)' as Name, &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;right('$(File)', Len('$(File)') - Index('$(File)', '.', -1)) as Type,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FileSize( '$(File)' ) as Size, &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FileTime( '$(File)' ) as FileTime&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;autogenerate 1;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;next File&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;next Ext&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It works fine in all spaces, except &lt;STRONG&gt;Managed ones that were not created by me&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;No errors are reported, the code just skips that loop part:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VladKomarov_0-1650458758935.png" style="width: 647px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/77508iE1D8EFAEB96446EB/image-dimensions/647x422?v=v2" width="647" height="422" role="button" title="VladKomarov_0-1650458758935.png" alt="VladKomarov_0-1650458758935.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In the example above, both "M Test QVDs Tracking" and "SAP QVD Space" spaces were created as Managed. The&amp;nbsp;"M Test QVDs Tracking" was created by me, the&amp;nbsp;"SAP QVD Space" - by other person.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've got the full access rights to both these spaces and I even set myself as an owner to the&amp;nbsp;"SAP QVD Space" one:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VladKomarov_1-1650458973255.png" style="width: 670px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/77510i3F584A8B648333ED/image-dimensions/670x77?v=v2" width="670" height="77" role="button" title="VladKomarov_1-1650458973255.png" alt="VladKomarov_1-1650458973255.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But it did not help.&lt;/P&gt;
&lt;P&gt;And I can see and access all the files in that managed space:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VladKomarov_2-1650459472735.png" style="width: 656px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/77511iF34311E608F657D8/image-dimensions/656x702?v=v2" width="656" height="702" role="button" title="VladKomarov_2-1650459472735.png" alt="VladKomarov_2-1650459472735.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did not find any limitations mentioned in Help for using filelist function in managed spaces.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please advise.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vlad&lt;/P&gt;</description>
    <pubDate>Wed, 20 Apr 2022 13:15:03 GMT</pubDate>
    <dc:creator>VladKomarov</dc:creator>
    <dc:date>2022-04-20T13:15:03Z</dc:date>
    <item>
      <title>Unable to use filelist call in Managed Spaces</title>
      <link>https://community.qlik.com/t5/App-Development/Unable-to-use-filelist-call-in-Managed-Spaces/m-p/1920476#M75766</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;I am working on the app that allows me to scan all QVDs in specific spaces in SaaS tenant.&lt;/P&gt;
&lt;P&gt;I am using the following code:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;for each Ext in 'qvs', 'qvf', 'qvd', 'xlsx', 'xls'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;for each File in filelist (Root&amp;amp;'/*.' &amp;amp;Ext)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;FullFilesList:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;'$(File)' as Name, &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;right('$(File)', Len('$(File)') - Index('$(File)', '.', -1)) as Type,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FileSize( '$(File)' ) as Size, &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FileTime( '$(File)' ) as FileTime&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;autogenerate 1;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;next File&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;next Ext&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It works fine in all spaces, except &lt;STRONG&gt;Managed ones that were not created by me&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;No errors are reported, the code just skips that loop part:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VladKomarov_0-1650458758935.png" style="width: 647px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/77508iE1D8EFAEB96446EB/image-dimensions/647x422?v=v2" width="647" height="422" role="button" title="VladKomarov_0-1650458758935.png" alt="VladKomarov_0-1650458758935.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In the example above, both "M Test QVDs Tracking" and "SAP QVD Space" spaces were created as Managed. The&amp;nbsp;"M Test QVDs Tracking" was created by me, the&amp;nbsp;"SAP QVD Space" - by other person.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've got the full access rights to both these spaces and I even set myself as an owner to the&amp;nbsp;"SAP QVD Space" one:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VladKomarov_1-1650458973255.png" style="width: 670px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/77510i3F584A8B648333ED/image-dimensions/670x77?v=v2" width="670" height="77" role="button" title="VladKomarov_1-1650458973255.png" alt="VladKomarov_1-1650458973255.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But it did not help.&lt;/P&gt;
&lt;P&gt;And I can see and access all the files in that managed space:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VladKomarov_2-1650459472735.png" style="width: 656px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/77511iF34311E608F657D8/image-dimensions/656x702?v=v2" width="656" height="702" role="button" title="VladKomarov_2-1650459472735.png" alt="VladKomarov_2-1650459472735.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did not find any limitations mentioned in Help for using filelist function in managed spaces.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please advise.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vlad&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 13:15:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unable-to-use-filelist-call-in-Managed-Spaces/m-p/1920476#M75766</guid>
      <dc:creator>VladKomarov</dc:creator>
      <dc:date>2022-04-20T13:15:03Z</dc:date>
    </item>
  </channel>
</rss>

