<?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: Column name is an integer in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309534#M80740</link>
    <description>&lt;P&gt;So finally I manage to create a simple String in a T_Java to make my Json inside an array []. As it was impossible with tWriteJsonField which always start by&lt;/P&gt;&lt;P&gt;{"root", [...data...]}.&lt;/P&gt;&lt;P&gt;And it works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sometimes the easiest way is the best^^&lt;/P&gt;&lt;P&gt;Oh and not in the body but in the string of the API. And activating the "Log messages" option in Advanced settings in the tRESTClient is VERY helpfull.&lt;/P&gt;&lt;P&gt;Thanks gJeremy for your time and your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jul 2022 12:31:16 GMT</pubDate>
    <dc:creator>Informatique1</dc:creator>
    <dc:date>2022-07-25T12:31:16Z</dc:date>
    <item>
      <title>Column name is an integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309521#M80727</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use tWriteJsonField to send it into the body of an API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that one of the field needed for the API is a number:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000SqRShAAN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142191iC586FDE1CF6F1560/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000SqRShAAN.png" alt="0695b00000SqRShAAN.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do it?&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:47:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309521#M80727</guid>
      <dc:creator>Informatique1</dc:creator>
      <dc:date>2024-11-15T22:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Column name is an integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309522#M80728</link>
      <description>&lt;P&gt;HI, here a workaround , you can name your attribute with non special char then after change it with the one you want with  a tReplace component for example.&lt;/P&gt;&lt;P&gt;Send me love and kudos&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2022 12:31:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309522#M80728</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-06-24T12:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Column name is an integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309523#M80729</link>
      <description>&lt;P&gt;Thanks, but I don't see how tReplace can change the name of the column when it only change the value?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2022 14:18:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309523#M80729</guid>
      <dc:creator>Informatique1</dc:creator>
      <dc:date>2022-06-24T14:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Column name is an integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309524#M80730</link>
      <description>&lt;P&gt;if your output is a type String, you can replace all you want in with a tReplace so you can name your attribute with a really specific Name like @attributeToChange for example and then looking for this and replace it with is real name here 1473&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2022 14:21:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309524#M80730</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-06-24T14:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Column name is an integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309525#M80731</link>
      <description>&lt;P&gt;I seriously don't see what I'm supposed to do to change the column name and not the value &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000SqZLFAA3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137297iAD828BC4EE22CA3C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000SqZLFAA3.png" alt="0695b00000SqZLFAA3.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 12:01:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309525#M80731</guid>
      <dc:creator>Informatique1</dc:creator>
      <dc:date>2022-06-27T12:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Column name is an integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309526#M80732</link>
      <description>&lt;P&gt;If the output of your tWriteJsonField have a field of type String wich contain your Json, you can use a tReplace on it, so you'll overwrite all you want in the json, before sending it to the api.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tWriteJsonField --&amp;gt;tReplace--&amp;gt; tRestClient&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 13:25:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309526#M80732</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-06-27T13:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Column name is an integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309527#M80733</link>
      <description>&lt;P&gt;I tried: tWriteJsonField --&amp;gt;tReplace--&amp;gt; tRestClient&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000Sqa4tAAB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128158i217F02A2042F335E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000Sqa4tAAB.png" alt="0695b00000Sqa4tAAB.png" /&gt;&lt;/span&gt;output column of my tWriteJson&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000Sqa53AAB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153132i108428943889A619/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000Sqa53AAB.png" alt="0695b00000Sqa53AAB.png" /&gt;&lt;/span&gt;inside tReplace:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000SqZyXAAV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137438i427C5A3A2D28FD83/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000SqZyXAAV.png" alt="0695b00000SqZyXAAV.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result is still the same in the log:&lt;/P&gt;&lt;P&gt;{"rootTag":{"data":{"@id":"5960","attributes":{"&lt;B&gt;element&lt;/B&gt;":{"@idContext":"0","@idLanguage":"1","@value":"1880"}}}}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It does not change the element name by 1473.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 14:16:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309527#M80733</guid>
      <dc:creator>Informatique1</dc:creator>
      <dc:date>2022-06-27T14:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Column name is an integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309528#M80734</link>
      <description>&lt;P&gt;uncheck wole word checkbox in the tReplace will do the job &lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 14:35:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309528#M80734</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-06-27T14:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Column name is an integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309529#M80735</link>
      <description>&lt;P&gt;I'm still getting a 400 bad request.&lt;/P&gt;&lt;P&gt;It does not change if I send with tWriteJson or a simple string that looks like a Json. The tRestClient don't take it, in the string or the body.&lt;/P&gt;&lt;P&gt;I use Patch/Json/json.&lt;/P&gt;&lt;P&gt;Perfectly working on postman but nothing in the studio &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time and answers.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 15:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309529#M80735</guid>
      <dc:creator>Informatique1</dc:creator>
      <dc:date>2022-06-27T15:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Column name is an integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309530#M80736</link>
      <description>&lt;P&gt;have you tried to do it via postman before try it into talend ?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 15:41:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309530#M80736</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-06-27T15:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Column name is an integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309531#M80737</link>
      <description>&lt;P&gt;Yes and it works fine. Not the first time I use tRestClient on Talend on POST and GET request.&lt;/P&gt;&lt;P&gt;Here on a PATCH, don't know why it does not take the Json I send while in Postman I just do that:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000SqfUmAAJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157586iD6C4DD2347F9132F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000SqfUmAAJ.png" alt="0695b00000SqfUmAAJ.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 07:03:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309531#M80737</guid>
      <dc:creator>Informatique1</dc:creator>
      <dc:date>2022-06-28T07:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Column name is an integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309532#M80738</link>
      <description>&lt;P&gt;ok it seems you dont have the array in your json created by talend &lt;/P&gt;&lt;P&gt;you can do it with&lt;/P&gt;&lt;P&gt;name your root node root instead of rootTag&lt;/P&gt;&lt;P&gt;adding an attribute on the root node&lt;/P&gt;&lt;P&gt;name class &lt;/P&gt;&lt;P&gt;fixed value (right click on the attribute and choose fixed value)--&amp;gt;     array&lt;/P&gt;&lt;P&gt;add a sub element named root to the root node&lt;/P&gt;&lt;P&gt;add your data sub element to the root sub element&lt;/P&gt;&lt;P&gt;then you check remove root node in the component&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;root&lt;/P&gt;&lt;P&gt;@class  array&lt;/P&gt;&lt;P&gt;---- root&lt;/P&gt;&lt;P&gt;--------- data&lt;/P&gt;&lt;P&gt;-------------- type&lt;/P&gt;&lt;P&gt;--------------attributes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 09:12:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309532#M80738</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-06-28T09:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Column name is an integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309533#M80739</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Sorry for late answer I had some projects to finish first... And thank you for your help and patience.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I tried as you mentioned:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000SsjwZAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149057iA86D766D956D31AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000SsjwZAAR.png" alt="0695b00000SsjwZAAR.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunatly it still don't work.&lt;/P&gt;&lt;P&gt;It send this:&lt;/P&gt;&lt;P&gt;{"rootTag":{"data":{"id":"XXXXX","type":"objects","attributes":{"1473":{"idContext":"0","idLanguage":"1","value":"XXXX"}}}}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to directly sent a string to look like the one I send in postman:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000Ssk15AAB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133956iD45281B2DDDDD204/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000Ssk15AAB.png" alt="0695b00000Ssk15AAB.png" /&gt;&lt;/span&gt;I don't know what I'm missing. I tried to send it into the String or the Body of the API but no result: still a 400 bad request &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 14:41:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309533#M80739</guid>
      <dc:creator>Informatique1</dc:creator>
      <dc:date>2022-07-21T14:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Column name is an integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309534#M80740</link>
      <description>&lt;P&gt;So finally I manage to create a simple String in a T_Java to make my Json inside an array []. As it was impossible with tWriteJsonField which always start by&lt;/P&gt;&lt;P&gt;{"root", [...data...]}.&lt;/P&gt;&lt;P&gt;And it works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sometimes the easiest way is the best^^&lt;/P&gt;&lt;P&gt;Oh and not in the body but in the string of the API. And activating the "Log messages" option in Advanced settings in the tRESTClient is VERY helpfull.&lt;/P&gt;&lt;P&gt;Thanks gJeremy for your time and your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 12:31:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Column-name-is-an-integer/m-p/2309534#M80740</guid>
      <dc:creator>Informatique1</dc:creator>
      <dc:date>2022-07-25T12:31:16Z</dc:date>
    </item>
  </channel>
</rss>

