<?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 Talend Data Mapper - Add separator in AgConcat function in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Talend-Data-Mapper-Add-separator-in-AgConcat-function/m-p/2342069#M109968</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;I have a Map (JSON structure JSON to CSV structure) where&amp;nbsp;I want to loop on a field(JSON) that has multiple values in a single CSV field.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MGAs.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136396i8E873B193F4B2BEF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MGAs.jpg" alt="0683p000009MGAs.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;For that I thought to use the AgConcat function but it's not possible to add a separator between each concatenated value.&lt;BR /&gt;I also tried with a loop field output (concat Value + Constant ",") but there will always be a comma at the end.&lt;BR /&gt;&lt;BR /&gt;Is there a solution I have not seen?&lt;BR /&gt;&lt;BR /&gt;Thank's for your help !&lt;/P&gt;</description>
    <pubDate>Mon, 06 Mar 2017 08:13:15 GMT</pubDate>
    <dc:creator>param75</dc:creator>
    <dc:date>2017-03-06T08:13:15Z</dc:date>
    <item>
      <title>Talend Data Mapper - Add separator in AgConcat function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Data-Mapper-Add-separator-in-AgConcat-function/m-p/2342069#M109968</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I have a Map (JSON structure JSON to CSV structure) where&amp;nbsp;I want to loop on a field(JSON) that has multiple values in a single CSV field.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MGAs.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136396i8E873B193F4B2BEF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MGAs.jpg" alt="0683p000009MGAs.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;For that I thought to use the AgConcat function but it's not possible to add a separator between each concatenated value.&lt;BR /&gt;I also tried with a loop field output (concat Value + Constant ",") but there will always be a comma at the end.&lt;BR /&gt;&lt;BR /&gt;Is there a solution I have not seen?&lt;BR /&gt;&lt;BR /&gt;Thank's for your help !&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 08:13:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Data-Mapper-Add-separator-in-AgConcat-function/m-p/2342069#M109968</guid>
      <dc:creator>param75</dc:creator>
      <dc:date>2017-03-06T08:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Data Mapper - Add separator in AgConcat function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Data-Mapper-Add-separator-in-AgConcat-function/m-p/2342070#M109969</link>
      <description>Hi, 
&lt;BR /&gt;Delimiters was added in 6.3 version:&amp;nbsp; 
&lt;A href="https://jira.talendforge.org/browse/TDM-5345" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TDM-5345&lt;/A&gt; 
&lt;BR /&gt;Here is a workaround: 
&lt;BR /&gt;-Do a first map with JSON as input and output structure. Map all your fields one to one but for the field you want to concatenate add a delimiter 
&lt;BR /&gt;-Do a second map JSON to CSV and use you agConcat function. 
&lt;BR /&gt;In the first map call your second map (With next map field in your map properties): 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MGCf.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153150i615ACBCDC995149C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MGCf.png" alt="0683p000009MGCf.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Eric</description>
      <pubDate>Mon, 06 Mar 2017 08:36:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Data-Mapper-Add-separator-in-AgConcat-function/m-p/2342070#M109969</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-06T08:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Data Mapper - Add separator in AgConcat function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Data-Mapper-Add-separator-in-AgConcat-function/m-p/2342071#M109970</link>
      <description>Hi Eric,
&lt;BR /&gt;Thank's for your reply. In your case, it will also be necessary to remove the last character in the second map because there is the separator. Yes?</description>
      <pubDate>Mon, 06 Mar 2017 10:27:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Data-Mapper-Add-separator-in-AgConcat-function/m-p/2342071#M109970</guid>
      <dc:creator>param75</dc:creator>
      <dc:date>2017-03-06T10:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Data Mapper - Add separator in AgConcat function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Data-Mapper-Add-separator-in-AgConcat-function/m-p/2342072#M109971</link>
      <description>Yes, you are right.</description>
      <pubDate>Mon, 06 Mar 2017 11:14:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Data-Mapper-Add-separator-in-AgConcat-function/m-p/2342072#M109971</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-06T11:14:05Z</dc:date>
    </item>
  </channel>
</rss>

