<?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: Looping Files on Dropbox / Google Drive in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Looping-Files-on-Dropbox-Google-Drive/m-p/1726203#M8301</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Hopefully my response on this thread will help with Google Drive:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Connectors-Discussions/Google-Drive-Direct-Folder-Connection/m-p/1726188/highlight/false#M2269" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Connectors-Discussions/Google-Drive-Direct-Folder-Connection/m-p/1726188/highlight/false#M2269&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It's similar with DropBox, there is no separate MetaData connector in QlikWeb connectors. All of the API endpoints are in the same connector.&lt;/P&gt;&lt;P&gt;In the same way that my blog post talks about loading from the MetaData connector and then enumerating around the results you can do the same with the&amp;nbsp;&lt;STRONG&gt;List&lt;/STRONG&gt; endpoint in QWC. This will give you a list of files and folders.&lt;/P&gt;&lt;P&gt;You can then step through the results of the&amp;nbsp;&lt;STRONG&gt;List&lt;/STRONG&gt; query and call one of the other endpoints from there, such as&amp;nbsp;&lt;STRONG&gt;GetRawFileAsBinary&amp;nbsp;&lt;/STRONG&gt;or&amp;nbsp;&lt;STRONG&gt;GetRawFileAsText&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;As you are injecting bits of code you will probably need to look at the syntax for&amp;nbsp;&lt;STRONG&gt;WITH CONNECTION&lt;/STRONG&gt; in order to get that working.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jul 2020 16:46:41 GMT</pubDate>
    <dc:creator>stevedark</dc:creator>
    <dc:date>2020-07-08T16:46:41Z</dc:date>
    <item>
      <title>Looping Files on Dropbox / Google Drive</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Looping-Files-on-Dropbox-Google-Drive/m-p/1726196#M8300</link>
      <description>&lt;P&gt;To Whom it May Concern,&lt;/P&gt;
&lt;P&gt;I hope this finds you well. I have been unsuccessfully trying to create direct connections to folders on google drive / dropbox for sometime now &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; With individual files everything works fine but I cannot seem to figure out how to create a data loop. On dropbox I tried this script:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;LIB CONNECT TO 'Dropbox - random@random.org.uk (random-qlik-01_qliksupport)';&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;set vconcatenate=';';&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;for each file in filelist('lib://Dropbox - random@random.org.uk (random-qlik-01_qliksupport)/folder/subfolder/Q*.xlsm')&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;[TABLE]:&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;LOAD &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;*&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;from [$(file)]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;(ooxml, embedded labels, header is 1 lines, table is [sheet1]);&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;set vconcatenate='concatenate';&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;next file&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;but nothing loaded (this script works for files directly on my server). For google drive I've tried similar things with the same results.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I came across this article that seems to offer a solution:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.quickintelligence.co.uk/cloud-file-services-qlik-sense/" target="_blank" rel="noopener"&gt;https://www.quickintelligence.co.uk/cloud-file-services-qlik-sense/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am working with Qlik Sense Enterprise though and can't seem to find&amp;nbsp;a 'meta data' connector. Is this only for Qlik Sense Business? Has anyone come across a solution for loading multiple files from either dropbox or google drive via data loops? Most of the people I work with use the former and latter and having to upload each file separately is too time-consuming/complicated for users.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your support!&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Mohammed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 18:53:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Looping-Files-on-Dropbox-Google-Drive/m-p/1726196#M8300</guid>
      <dc:creator>malradi88</dc:creator>
      <dc:date>2021-12-23T18:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Looping Files on Dropbox / Google Drive</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Looping-Files-on-Dropbox-Google-Drive/m-p/1726203#M8301</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Hopefully my response on this thread will help with Google Drive:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Connectors-Discussions/Google-Drive-Direct-Folder-Connection/m-p/1726188/highlight/false#M2269" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Connectors-Discussions/Google-Drive-Direct-Folder-Connection/m-p/1726188/highlight/false#M2269&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It's similar with DropBox, there is no separate MetaData connector in QlikWeb connectors. All of the API endpoints are in the same connector.&lt;/P&gt;&lt;P&gt;In the same way that my blog post talks about loading from the MetaData connector and then enumerating around the results you can do the same with the&amp;nbsp;&lt;STRONG&gt;List&lt;/STRONG&gt; endpoint in QWC. This will give you a list of files and folders.&lt;/P&gt;&lt;P&gt;You can then step through the results of the&amp;nbsp;&lt;STRONG&gt;List&lt;/STRONG&gt; query and call one of the other endpoints from there, such as&amp;nbsp;&lt;STRONG&gt;GetRawFileAsBinary&amp;nbsp;&lt;/STRONG&gt;or&amp;nbsp;&lt;STRONG&gt;GetRawFileAsText&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;As you are injecting bits of code you will probably need to look at the syntax for&amp;nbsp;&lt;STRONG&gt;WITH CONNECTION&lt;/STRONG&gt; in order to get that working.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 16:46:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Looping-Files-on-Dropbox-Google-Drive/m-p/1726203#M8301</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2020-07-08T16:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Looping Files on Dropbox / Google Drive</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Looping-Files-on-Dropbox-Google-Drive/m-p/1726204#M8302</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Mohammed&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Wildcard matching (e.g. where you have&amp;nbsp;&lt;EM&gt;Q*.xlsm&amp;nbsp;&lt;/EM&gt;in your example) is not supported in either the Dropbox or Google Drive WebStorage provider connectors - I believe this is mentioned in the help page.&lt;/P&gt;&lt;P&gt;In Qlik Sense Business though you should find both a Dropbox Metadata connector:&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/connectors/Subsystems/Integrated_Web_Connectors_help/Content/Connectors_QWC_BuiltIn/Integrated%20connectors/Dropbox-Metadata-Connector-integrated.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/connectors/Subsystems/Integrated_Web_Connectors_help/Content/Connectors_QWC_BuiltIn/Integrated%20connectors/Dropbox-Metadata-Connector-integrated.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And a Google Drive &amp;amp; Spreadsheets connector:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/connectors/Subsystems/Integrated_Web_Connectors_help/Content/Connectors_QWC_BuiltIn/Integrated%20connectors/Google-Drive-and-Spreadsheets-Connector-integrated.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/connectors/Subsystems/Integrated_Web_Connectors_help/Content/Connectors_QWC_BuiltIn/Integrated%20connectors/Google-Drive-and-Spreadsheets-Connector-integrated.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Which contain tables which allow you to list files and then create a load script which loops through the rows in these and load files that way in each iteration.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(UPDATE: And you should be able to use the filelist function to list files in folders as long as you don't use wildcards and so avoid using a 'metadata' variant of the connector).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;With QlikView and Qlik Sense on premise you can likely use the Qlik Web Connectors:&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/connectors/Subsystems/Web_Connectors_help/Content/Connectors_QWC/Setup-deploy/Qlik_Web_Connectors_package.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/connectors/Subsystems/Web_Connectors_help/Content/Connectors_QWC/Setup-deploy/Qlik_Web_Connectors_package.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To achieve similar goals although with these there is a single 'Dropbox' and 'Google Drive &amp;amp; Spreadsheets' connector which should cover both use cases (e.g. listing the files in a table and then loading them into qlikview/qlik sense).&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 16:52:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Looping-Files-on-Dropbox-Google-Drive/m-p/1726204#M8302</guid>
      <dc:creator>chrisbrain</dc:creator>
      <dc:date>2020-07-08T16:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Looping Files on Dropbox / Google Drive</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Looping-Files-on-Dropbox-Google-Drive/m-p/1726206#M8303</link>
      <description>&lt;P&gt;Ah should have checked&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6748"&gt;@stevedark&lt;/a&gt;&amp;nbsp; hadn't already replied while I was writing my response!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 16:48:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Looping-Files-on-Dropbox-Google-Drive/m-p/1726206#M8303</guid>
      <dc:creator>chrisbrain</dc:creator>
      <dc:date>2020-07-08T16:48:18Z</dc:date>
    </item>
  </channel>
</rss>

