<?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: COmponent tXMLAdvancedOutput in flow  0 Row and create path /null/null why ? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/COmponent-tXMLAdvancedOutput-in-flow-0-Row-and-create-path-null/m-p/2307012#M78490</link>
    <description>&lt;P&gt;Do you check the 'Append the source xml file' box on tAdvancedFileOutputXML? Can you take a look at the tUnite component? This component merges all the data,  in your case, you can use this component to merge all data before writing them to XML file, let me know if I don't understand your requirement well. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Nov 2020 07:32:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-23T07:32:05Z</dc:date>
    <item>
      <title>COmponent tXMLAdvancedOutput in flow  0 Row and create path /null/null why ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/COmponent-tXMLAdvancedOutput-in-flow-0-Row-and-create-path-null/m-p/2307007#M78485</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;Im very surprised how the component reacts when run flow, and branch have 0 Row. (for me it is a bug on 7.2.1.20190620)&lt;/P&gt;&lt;P&gt;with config : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AYgOoAAL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139185i4C3E4064BE8051EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AYgOoAAL.png" alt="0693p00000AYgOoAAL.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Advance :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AYgOtAAL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144270i704BBE1E448AA9B3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AYgOtAAL.png" alt="0693p00000AYgOtAAL.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;U&gt;FLOW :&lt;/U&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AYgOyAAL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137678i4B0EAF3F5E7DBE7C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AYgOyAAL.png" alt="0693p00000AYgOyAAL.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;U&gt;RESULT :&lt;/U&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AYgP8AAL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140155i95B0F40CF4D44C9D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AYgP8AAL.png" alt="0693p00000AYgP8AAL.png" /&gt;&lt;/span&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;/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;/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;/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;/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;</description>
      <pubDate>Mon, 16 Nov 2020 08:54:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/COmponent-tXMLAdvancedOutput-in-flow-0-Row-and-create-path-null/m-p/2307007#M78485</guid>
      <dc:creator>FMartellucci1599461942</dc:creator>
      <dc:date>2020-11-16T08:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: COmponent tXMLAdvancedOutput in flow  0 Row and create path /null/null why ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/COmponent-tXMLAdvancedOutput-in-flow-0-Row-and-create-path-null/m-p/2307008#M78486</link>
      <description>&lt;P&gt;Hi  &lt;/P&gt;&lt;P&gt;Can you share a screenshot of basic setting of tAdvancedFileOutputXML component? I guess you are using global variables in the file path.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 06:48:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/COmponent-tXMLAdvancedOutput-in-flow-0-Row-and-create-path-null/m-p/2307008#M78486</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-17T06:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: COmponent tXMLAdvancedOutput in flow  0 Row and create path /null/null why ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/COmponent-tXMLAdvancedOutput-in-flow-0-Row-and-create-path-null/m-p/2307009#M78487</link>
      <description>&lt;P&gt;plz see my first screenshot it is the basic setting &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;/P&gt;&lt;P&gt;yes i use the globalVar with component FlowToIterate. But in tMap_4 output with 0 ROW i dont understand why my component tAdvancedFileOutputXML want create empty file and &lt;B&gt;generate path&lt;/B&gt; with 0 ROW (and globalVar are null because 0 ROW)  and create /null/null/ (with my end path with globalVar).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;why the generate path for the file of tAdvancedFileOutpoutXML only if minimum 1 row in the flow line ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 07:20:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/COmponent-tXMLAdvancedOutput-in-flow-0-Row-and-create-path-null/m-p/2307009#M78487</guid>
      <dc:creator>FMartellucci1599461942</dc:creator>
      <dc:date>2020-11-17T07:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: COmponent tXMLAdvancedOutput in flow  0 Row and create path /null/null why ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/COmponent-tXMLAdvancedOutput-in-flow-0-Row-and-create-path-null/m-p/2307010#M78488</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Please refer to this &lt;A href="https://help.talend.com/reader/TOI27xbqXMpvbDuWTdnVoQ/knYGp5XGdqtnsCCzAge0eQ" alt="https://help.talend.com/reader/TOI27xbqXMpvbDuWTdnVoQ/knYGp5XGdqtnsCCzAge0eQ" target="_blank"&gt;documentation &lt;/A&gt;about the component code generated model. In a main flow, the begin part code (initializes variables, such as filepath, opens an output stream) of tAdvancedFileOutputXML executes before other components. In this case, you are using the global variable before it is assigned value, that's why it is null.&lt;/P&gt;&lt;P&gt;If you want to create the XML file only when the output of tMap has data, then store the output into memory using tHashOutput, use runIf connector to trigger next processing if the global variable (Integer)globalMap.get("tHashOutput_1_NB_LINE") is bigger than 0.&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;....tMap--tHashOutput_1&lt;/P&gt;&lt;P&gt;-runIf-tHashInput--main--&amp;gt;tFlowToIterate--tFixedFlowInput--main--balabala--&amp;gt;tAdvancedFileOuutput&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;set the condition of runif as;&lt;/P&gt;&lt;P&gt;((Integer)globalMap.get("tHashOutput_1_NB_LINE"))&amp;gt;0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 08:16:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/COmponent-tXMLAdvancedOutput-in-flow-0-Row-and-create-path-null/m-p/2307010#M78488</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-17T08:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: COmponent tXMLAdvancedOutput in flow  0 Row and create path /null/null why ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/COmponent-tXMLAdvancedOutput-in-flow-0-Row-and-create-path-null/m-p/2307011#M78489</link>
      <description>&lt;P&gt;sorry if I speak poorly in English.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this effectively works with an if, but the tAdvancedFileOutputXML component then no longer consolidates the xmls in the same file, it overwrites the file per row received and no longer adds in the groups and loops defined in the xml tree.&lt;/P&gt;&lt;P&gt;And so I have a file with only the last xml in the loop &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 07:14:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/COmponent-tXMLAdvancedOutput-in-flow-0-Row-and-create-path-null/m-p/2307011#M78489</guid>
      <dc:creator>FMartellucci1599461942</dc:creator>
      <dc:date>2020-11-23T07:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: COmponent tXMLAdvancedOutput in flow  0 Row and create path /null/null why ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/COmponent-tXMLAdvancedOutput-in-flow-0-Row-and-create-path-null/m-p/2307012#M78490</link>
      <description>&lt;P&gt;Do you check the 'Append the source xml file' box on tAdvancedFileOutputXML? Can you take a look at the tUnite component? This component merges all the data,  in your case, you can use this component to merge all data before writing them to XML file, let me know if I don't understand your requirement well. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 07:32:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/COmponent-tXMLAdvancedOutput-in-flow-0-Row-and-create-path-null/m-p/2307012#M78490</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-23T07:32:05Z</dc:date>
    </item>
  </channel>
</rss>

