<?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 Map empty/blank value in input XML/Json To target XML or json field in  cMAP in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Map-empty-blank-value-in-input-XML-Json-To-target-XML-or-json/m-p/2373630#M136334</link>
    <description>&lt;P&gt;Hi Team ,&lt;/P&gt;&lt;P&gt;We are using talend ESB for our integration project and we are facing a issue with transforming data with cMap.&lt;/P&gt;&lt;P&gt;Talend studio version:7.2.1&lt;/P&gt;&lt;P&gt;patch: Patch_20200522_TPS-3953_v2-7.2.1&lt;/P&gt;&lt;P&gt;&lt;B&gt;First Issue&lt;/B&gt;: passing blank/empty value in input structure which customer is sending to target structure field.&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;source xml field email--&amp;gt; &amp;lt;order&amp;gt;&amp;lt;customer&amp;gt;&amp;lt;email&amp;gt;&amp;lt;/email&amp;gt;&amp;lt;phone&amp;gt;12345&amp;lt;/phone&amp;gt;&amp;lt;/customer&amp;gt;&amp;lt;/order&amp;gt;&lt;/P&gt;&lt;P&gt;when mapped&lt;/P&gt;&lt;P&gt;cMap output is not having the blank value in output xml.&lt;/P&gt;&lt;P&gt;&amp;lt;storeOrder&amp;gt;&amp;lt;cus&amp;gt;&amp;lt;ph&amp;gt;12345&amp;lt;ph&amp;gt;&amp;lt;/cus&amp;gt;&amp;lt;/storeOrder&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Second issue&lt;/B&gt;: setting a constant blank for output xml field in cMap.&lt;/P&gt;&lt;P&gt;if i want some empty tag in output based on target team requirement. eg: &amp;lt;addressline2&amp;gt;&amp;lt;/addressline2&amp;gt;&lt;/P&gt;&lt;P&gt;we tried setting value using function constant("") . not working. There is one option to set field as mandatory which will generate empty tag but we dont want to use that and that is not a feasible option for us .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are struggling to resolve this. please help us .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:43:43 GMT</pubDate>
    <dc:creator>shivaaa786</dc:creator>
    <dc:date>2024-11-16T01:43:43Z</dc:date>
    <item>
      <title>Map empty/blank value in input XML/Json To target XML or json field in  cMAP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Map-empty-blank-value-in-input-XML-Json-To-target-XML-or-json/m-p/2373630#M136334</link>
      <description>&lt;P&gt;Hi Team ,&lt;/P&gt;&lt;P&gt;We are using talend ESB for our integration project and we are facing a issue with transforming data with cMap.&lt;/P&gt;&lt;P&gt;Talend studio version:7.2.1&lt;/P&gt;&lt;P&gt;patch: Patch_20200522_TPS-3953_v2-7.2.1&lt;/P&gt;&lt;P&gt;&lt;B&gt;First Issue&lt;/B&gt;: passing blank/empty value in input structure which customer is sending to target structure field.&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;source xml field email--&amp;gt; &amp;lt;order&amp;gt;&amp;lt;customer&amp;gt;&amp;lt;email&amp;gt;&amp;lt;/email&amp;gt;&amp;lt;phone&amp;gt;12345&amp;lt;/phone&amp;gt;&amp;lt;/customer&amp;gt;&amp;lt;/order&amp;gt;&lt;/P&gt;&lt;P&gt;when mapped&lt;/P&gt;&lt;P&gt;cMap output is not having the blank value in output xml.&lt;/P&gt;&lt;P&gt;&amp;lt;storeOrder&amp;gt;&amp;lt;cus&amp;gt;&amp;lt;ph&amp;gt;12345&amp;lt;ph&amp;gt;&amp;lt;/cus&amp;gt;&amp;lt;/storeOrder&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Second issue&lt;/B&gt;: setting a constant blank for output xml field in cMap.&lt;/P&gt;&lt;P&gt;if i want some empty tag in output based on target team requirement. eg: &amp;lt;addressline2&amp;gt;&amp;lt;/addressline2&amp;gt;&lt;/P&gt;&lt;P&gt;we tried setting value using function constant("") . not working. There is one option to set field as mandatory which will generate empty tag but we dont want to use that and that is not a feasible option for us .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are struggling to resolve this. please help us .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:43:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Map-empty-blank-value-in-input-XML-Json-To-target-XML-or-json/m-p/2373630#M136334</guid>
      <dc:creator>shivaaa786</dc:creator>
      <dc:date>2024-11-16T01:43:43Z</dc:date>
    </item>
  </channel>
</rss>

