<?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>idea Re: Qlik Replicate - S3 Endpoint - Dynamic Folder Name in Suggest an Idea</title>
    <link>https://community.qlik.com/t5/Suggest-an-Idea/Qlik-Replicate-S3-Endpoint-Dynamic-Folder-Name/idc-p/2024394#M11596</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/205525"&gt;@mp-sf&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use Global Transformations to rename tables creating subfolders to you using DateTime features.&lt;/P&gt;&lt;P&gt;Please, create a Global Rule Transformation to rename all table names with following expression:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Date('Now', 'LocalTime') || '/' || $AR_M_SOURCE_TABLE_NAME&lt;/LI-CODE&gt;&lt;P&gt;After each Full Load, Qlik will create a Subfolder with Date in format YYYY-MM-DD + / + Table Name.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pedrobergo_0-1673445835922.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/97798iAF7AF945385FAB7A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pedrobergo_0-1673445835922.png" alt="pedrobergo_0-1673445835922.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pedrobergo_1-1673445917296.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/97800i60E9C8A05A805FA9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pedrobergo_1-1673445917296.png" alt="pedrobergo_1-1673445917296.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[],&lt;/P&gt;&lt;P&gt;Pedro&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jan 2023 14:06:27 GMT</pubDate>
    <dc:creator>pedrobergo</dc:creator>
    <dc:date>2023-01-11T14:06:27Z</dc:date>
    <item>
      <title>Qlik Replicate - S3 Endpoint - Dynamic Folder Name</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Qlik-Replicate-S3-Endpoint-Dynamic-Folder-Name/idi-p/2019934</link>
      <description>&lt;P&gt;Good morning Qlik Community!&lt;/P&gt;
&lt;P&gt;For once-daily Full Load operations, it would be *VERY* nice to have the capability of adding a dynamic folder name to the Target Folder field of an S3 Target Endpoint, or even to a Replication Task type that is targeted for S3 replication tasks.&lt;/P&gt;
&lt;P&gt;For example, adding a dynamic DATE function so that each day the Replication Task will generate a new subfolder based on the date, and upload the daily parquet file to that subfolder.&lt;/P&gt;
&lt;P&gt;IE:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Target Endpoint S3 Bucket Name = my-s3-bucket-name&lt;/LI&gt;
&lt;LI&gt;Target Endpoint S3 Target Folder = dir1/dir2/dir3/subfolder/{DATE_VAR}&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qr-s3-endpoint-dynamic.jpg" style="width: 997px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/96907iC42B28CEA264EB4F/image-size/large?v=v2&amp;amp;px=999" role="button" title="qr-s3-endpoint-dynamic.jpg" alt="qr-s3-endpoint-dynamic.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Would result in:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Full Path (from 12/25/2022) = my-s3-bucket-name/dir1/dir2/dir3/subfolder/12-25-2022/table_name/fileload00001.parquet&lt;/LI&gt;
&lt;LI&gt;Full Path (from 12/26/2022) = my-s3-bucket-name/dir1/dir2/dir3/subfolder/12-26-2022/table_name/fileload00001.parquet&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The DATE capability is the need for my current use-case, but I can think of at least a couple more instances where a dynamic folder name would be incredibly worthwhile, especially in an environment as large as ours.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An ALTERNATE suggestion (See Here:&amp;nbsp; &lt;A href="https://community.qlik.com/t5/Suggest-an-Idea/Qlik-Replicate-S3-Replication-Task-Type-plus-dynamic-folder-vars/idi-p/2020407" target="_blank"&gt;Qlik Replicate - S3 Replication Task Type (plus dy... - Qlik Community - 2020407&lt;/A&gt;) would be an S3 Replication Profile option during New Task creation, where the Target Endpoint data would be treated more like files instead of Database Schema/Table/Column/etc... fields, and the Target Endpoint itself would simply be a pointer to a top level directory.&lt;/P&gt;
&lt;P&gt;For example, in an S3-Replication-Profile task, I would select the Source Schema/Tables/Columns - but for the S3 Task type, instead of "Map to target table" it would have "Map to Folder" options (that would include the capability to add a dynamic formula field- ie: DATE).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qr-s3-replication-profile.jpg" style="width: 483px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/96908iF0DA25BE25A1A26C/image-size/large?v=v2&amp;amp;px=999" role="button" title="qr-s3-replication-profile.jpg" alt="qr-s3-replication-profile.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;IE:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Target Endpoint S3 Bucket Name = my-s3-bucket-name&lt;/LI&gt;
&lt;LI&gt;Target Endpoint S3 Target Folder = dir1/dir2/dir3/subfolder&lt;/LI&gt;
&lt;LI&gt;S3 Replication Task Settings Option:&amp;nbsp; Target Folder = {DATE_VAR}
&lt;UL&gt;
&lt;LI&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qr-s3-task-folder.jpg" style="width: 970px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/96909i32E7B4C71C3A262A/image-size/large?v=v2&amp;amp;px=999" role="button" title="qr-s3-task-folder.jpg" alt="qr-s3-task-folder.jpg" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;-or, less desirable, a setting within each Table Mapping of each Replication Task-
&lt;UL&gt;
&lt;LI&gt;Target Subfolder Name (instead of Table Schema/Table Name fields) = {DATE_VAR}&lt;/LI&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qr-s3-table-folder.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/96910i4477AAE358E7CF4D/image-size/large?v=v2&amp;amp;px=999" role="button" title="qr-s3-table-folder.jpg" alt="qr-s3-table-folder.jpg" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Would result in:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Full Path (from 12/25/2022) = my-s3-bucket-name/dir1/dir2/dir3/subfolder/12-25-2022/table_name/fileload00001.parquet&lt;/LI&gt;
&lt;LI&gt;Full Path (from 12/26/2022) = my-s3-bucket-name/dir1/dir2/dir3/subfolder/12-26-2022/table_name/fileload00001.parquet&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your time!&lt;/P&gt;
&lt;P&gt;-mp&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 17:06:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Qlik-Replicate-S3-Endpoint-Dynamic-Folder-Name/idi-p/2019934</guid>
      <dc:creator>mp-sf</dc:creator>
      <dc:date>2022-12-28T17:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate - S3 Endpoint - Dynamic Folder Name</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Qlik-Replicate-S3-Endpoint-Dynamic-Folder-Name/idc-p/2024394#M11596</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/205525"&gt;@mp-sf&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use Global Transformations to rename tables creating subfolders to you using DateTime features.&lt;/P&gt;&lt;P&gt;Please, create a Global Rule Transformation to rename all table names with following expression:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Date('Now', 'LocalTime') || '/' || $AR_M_SOURCE_TABLE_NAME&lt;/LI-CODE&gt;&lt;P&gt;After each Full Load, Qlik will create a Subfolder with Date in format YYYY-MM-DD + / + Table Name.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pedrobergo_0-1673445835922.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/97798iAF7AF945385FAB7A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pedrobergo_0-1673445835922.png" alt="pedrobergo_0-1673445835922.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pedrobergo_1-1673445917296.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/97800i60E9C8A05A805FA9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pedrobergo_1-1673445917296.png" alt="pedrobergo_1-1673445917296.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[],&lt;/P&gt;&lt;P&gt;Pedro&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 14:06:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Qlik-Replicate-S3-Endpoint-Dynamic-Folder-Name/idc-p/2024394#M11596</guid>
      <dc:creator>pedrobergo</dc:creator>
      <dc:date>2023-01-11T14:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate - S3 Endpoint - Dynamic Folder Name</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Qlik-Replicate-S3-Endpoint-Dynamic-Folder-Name/idc-p/2024501#M11600</link>
      <description>&lt;P data-unlink="true"&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/138"&gt;@pedrobergo&lt;/a&gt;&amp;nbsp;Thanks for that feedback, looks like it will do the trick.&amp;nbsp; I've got 2 quick follow-up questions...&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;With that Global Rule, my replication structure is as below (not including &amp;lt;target-bucket&amp;gt; in example):&lt;/P&gt;
&lt;UL&gt;
&lt;LI data-unlink="true"&gt;Original:&amp;nbsp; &amp;lt;target-bucket&amp;gt;/&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI data-unlink="true"&gt;Example:&amp;nbsp;&amp;nbsp;ABC.123, ABC.456, ABC.789&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI data-unlink="true"&gt;Global Rule:&amp;nbsp; &amp;lt;target-bucket&amp;gt;/&amp;lt;schema&amp;gt;.DATE/&amp;lt;table&amp;gt;&lt;/LI&gt;
&lt;LI data-unlink="true"&gt;Example: ABC.2023-01-11/123, ABC.2023-01-11/456, ABC.2023-01-11/789&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;I'm not specifically mapping anything to use the source &amp;lt;schema&amp;gt; ID in the target name, and I don't see a setting that I can enable/disable for that.&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;So 2 questions:&lt;/P&gt;
&lt;OL&gt;
&lt;LI data-unlink="true"&gt;Is there a setting I can toggle to leave off the &amp;lt;schema&amp;gt; name, or is that going to require another Global Rule?&lt;/LI&gt;
&lt;LI data-unlink="true"&gt;Do you know of any way to modify the filename from "&lt;SPAN class="name object latest object-name"&gt;LOAD00000001.parquet&lt;/SPAN&gt;" to something different?&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 11 Jan 2023 16:42:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Qlik-Replicate-S3-Endpoint-Dynamic-Folder-Name/idc-p/2024501#M11600</guid>
      <dc:creator>mp-sf</dc:creator>
      <dc:date>2023-01-11T16:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate - S3 Endpoint - Dynamic Folder Name</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Qlik-Replicate-S3-Endpoint-Dynamic-Folder-Name/idc-p/2025023#M11631</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/205525"&gt;@mp-sf&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Answering you:&lt;/P&gt;&lt;P&gt;1. For S3 target you cannot hidden or eliminate source schema.&lt;/P&gt;&lt;P&gt;2. You cannot change the name of the file.&lt;/P&gt;&lt;P&gt;You can execute a post processing command, like a batch or script that will be executed just after each file upload to target, then you can copy to another file. Please take a look into&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/replicate/May2021/Content/Replicate/Main/Amazon%20S3/advanced_options_files3.htm" target="_blank"&gt;https://help.qlik.com/en-US/replicate/May2021/Content/Replicate/Main/Amazon%20S3/advanced_options_files3.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;[],&lt;/P&gt;&lt;P&gt;Pedro&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 14:51:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Qlik-Replicate-S3-Endpoint-Dynamic-Folder-Name/idc-p/2025023#M11631</guid>
      <dc:creator>pedrobergo</dc:creator>
      <dc:date>2023-01-12T14:51:43Z</dc:date>
    </item>
    <item>
      <title>From now on, please track this idea from the Ideation por...</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Qlik-Replicate-S3-Endpoint-Dynamic-Folder-Name/idc-p/2100942#M14188</link>
      <description>&lt;P&gt;From now on, please track this idea from the Ideation portal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A title="Link to new idea" href="https://ideation.qlik.com/app/#/case/279998" target="_blank" rel="noopener"&gt;Link to new idea&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Meghann&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;EM&gt;NOTE: Upon clicking this link 2 tabs may open - please feel free to close the one with a login page. If you &lt;STRONG&gt;only&lt;/STRONG&gt; see 1 tab with the login page, please try clicking this link first: &lt;STRONG&gt;&lt;A title="Authenticate me!" href="#" target="_blank" rel="noopener"&gt;Authenticate me!&lt;/A&gt;&lt;/STRONG&gt;&amp;nbsp;t&lt;/EM&gt;&lt;EM&gt;hen try the link above again. Ensure pop-up blocker is off.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 16:01:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Qlik-Replicate-S3-Endpoint-Dynamic-Folder-Name/idc-p/2100942#M14188</guid>
      <dc:creator>Meghann_MacDonald</dc:creator>
      <dc:date>2023-08-02T16:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate - S3 Endpoint - Dynamic Folder Name - Status changed to: Closed - Archived</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Qlik-Replicate-S3-Endpoint-Dynamic-Folder-Name/idc-p/2100943#M14189</link>
      <description />
      <pubDate>Wed, 02 Aug 2023 16:01:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Qlik-Replicate-S3-Endpoint-Dynamic-Folder-Name/idc-p/2100943#M14189</guid>
      <dc:creator>Ideation</dc:creator>
      <dc:date>2023-08-02T16:01:37Z</dc:date>
    </item>
  </channel>
</rss>

