<?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: Process and store files of Sharepoint Online folder in Database in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Process-and-store-files-of-Sharepoint-Online-folder-in-Database/m-p/4609674#M7286</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="913195" data-lia-user-login="nilendraFabric" class="lia-mention lia-mention-user"&gt;nilendraFabric&lt;/a&gt;&amp;nbsp;I am not sure whether the lookup activity supports Sharepoint folders. You might need to use a web activity to get the list of all files within that folder.&lt;BR /&gt;Also as of today, based on my understanding, Dataflow inputs cannot be parameterized and they need to be hardcoded. So in case if one uses DF, they would have to set up multiple DFs for diff files and transformations.&lt;BR /&gt;&lt;BR /&gt;So the flow can be as below :&lt;/P&gt;
&lt;P&gt;Within Data pipeline :&lt;/P&gt;
&lt;P&gt;a) web activity to get list of files&lt;BR /&gt;b) copy files into a lakehouse/database as is&lt;BR /&gt;c) do transformations via SQL&lt;BR /&gt;d) move the file to another location within lakehouse&lt;/P&gt;</description>
    <pubDate>Fri, 14 Mar 2025 05:47:23 GMT</pubDate>
    <dc:creator>NandanHegde</dc:creator>
    <dc:date>2025-03-14T05:47:23Z</dc:date>
    <item>
      <title>Process and store files of Sharepoint Online folder in Database</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Process-and-store-files-of-Sharepoint-Online-folder-in-Database/m-p/4608775#M7283</link>
      <description>&lt;P&gt;Hello community,&lt;BR /&gt;&lt;BR /&gt;I am new to Fabric and what I thought was a simple task turns out to be quite complicated.&lt;BR /&gt;&lt;BR /&gt;I need to process files in a Sharepoint Online folder, transform the data of each file using PowerQuery in a Dataflow (I believe), store the transformed data in a DB and after the successful import to the DB the file should be moved to an Archive folder of the same Sharepoint library.&lt;BR /&gt;&lt;BR /&gt;I followed this guide to set up the connection to Sharepoint and retrieve the files via a pipeline:&lt;BR /&gt;&lt;A href="https://www.syntera.ch/blog/2022/10/10/copy-files-from-sharepoint-to-blob-storage-using-azure-data-factory/" target="_blank"&gt;https://www.syntera.ch/blog/2022/10/10/copy-files-from-sharepoint-to-blob-storage-using-azure-data-factory/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The part I cannot follow anymore is everything after "6. Iterate through list of files and copy each file to ADLS".&lt;BR /&gt;Is there no easier way to simply access the file and then transform it?&lt;BR /&gt;&lt;BR /&gt;As a test I already created a dataflow Gen2 which works but I need to handle each file separately as well as move the processed files to an Archive folder.&lt;BR /&gt;&lt;BR /&gt;What options do I have?&lt;BR /&gt;&lt;BR /&gt;Thank you very much.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 13:50:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Process-and-store-files-of-Sharepoint-Online-folder-in-Database/m-p/4608775#M7283</guid>
      <dc:creator>tonyclifton</dc:creator>
      <dc:date>2025-03-13T13:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Process and store files of Sharepoint Online folder in Database</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Process-and-store-files-of-Sharepoint-Online-folder-in-Database/m-p/4609131#M7284</link>
      <description>&lt;LI-CODE lang="markup"&gt;and after the successful import to the DB the file should be moved to an Archive folder of the same Sharepoint library&lt;/LI-CODE&gt;
&lt;P&gt;That is not something you can do in a dataflow.&amp;nbsp; Look at pipelines.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 17:49:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Process-and-store-files-of-Sharepoint-Online-folder-in-Database/m-p/4609131#M7284</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-03-13T17:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Process and store files of Sharepoint Online folder in Database</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Process-and-store-files-of-Sharepoint-Online-folder-in-Database/m-p/4609136#M7285</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="72592" data-lia-user-login="tonyclifton" class="lia-mention lia-mention-user"&gt;tonyclifton&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;Data pipeline would be a simple solution as&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp; suggested.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;Create a new data pipeline in Microsoft Fabric&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Add a Lookup activity to get a list of files from your SharePoint folder&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Follow this with a ForEach activity to iterate through each file&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Inside the ForEach loop, add:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;A Dataflow activity to transform the data&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;A Copy Data activity to load data into your database&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;A procedure or activity to move the file to an archive folder&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 13 Mar 2025 17:53:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Process-and-store-files-of-Sharepoint-Online-folder-in-Database/m-p/4609136#M7285</guid>
      <dc:creator>nilendraFabric</dc:creator>
      <dc:date>2025-03-13T17:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Process and store files of Sharepoint Online folder in Database</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Process-and-store-files-of-Sharepoint-Online-folder-in-Database/m-p/4609674#M7286</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="913195" data-lia-user-login="nilendraFabric" class="lia-mention lia-mention-user"&gt;nilendraFabric&lt;/a&gt;&amp;nbsp;I am not sure whether the lookup activity supports Sharepoint folders. You might need to use a web activity to get the list of all files within that folder.&lt;BR /&gt;Also as of today, based on my understanding, Dataflow inputs cannot be parameterized and they need to be hardcoded. So in case if one uses DF, they would have to set up multiple DFs for diff files and transformations.&lt;BR /&gt;&lt;BR /&gt;So the flow can be as below :&lt;/P&gt;
&lt;P&gt;Within Data pipeline :&lt;/P&gt;
&lt;P&gt;a) web activity to get list of files&lt;BR /&gt;b) copy files into a lakehouse/database as is&lt;BR /&gt;c) do transformations via SQL&lt;BR /&gt;d) move the file to another location within lakehouse&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 05:47:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Process-and-store-files-of-Sharepoint-Online-folder-in-Database/m-p/4609674#M7286</guid>
      <dc:creator>NandanHegde</dc:creator>
      <dc:date>2025-03-14T05:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Process and store files of Sharepoint Online folder in Database</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Process-and-store-files-of-Sharepoint-Online-folder-in-Database/m-p/4609709#M7287</link>
      <description>&lt;P&gt;Hello &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="913195" data-lia-user-login="nilendraFabric" class="lia-mention lia-mention-user"&gt;nilendraFabric&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;thanks for your process structure. The part I struggle with starts in your listing at number 4.&lt;BR /&gt;&lt;BR /&gt;So I have the foreach loop and get the binary file content in a Web activity like so:&lt;BR /&gt;/_api/web/getfilebyserverrelativeurl('/sites/DataTest/@{item().Name}')/$value&lt;BR /&gt;&lt;BR /&gt;What I don't undertand is how to then pass this binary data to the Dataflow:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;What do I put as "Dataflow ID"? My guess was it needs to be the output of the previous step:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;But by filling that Dataflow ID I can't even open the dataflow. Or do I need to create this dataflow differently and later on pass the output to the dataflow?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 06:22:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Process-and-store-files-of-Sharepoint-Online-folder-in-Database/m-p/4609709#M7287</guid>
      <dc:creator>tonyclifton</dc:creator>
      <dc:date>2025-03-14T06:22:23Z</dc:date>
    </item>
  </channel>
</rss>

