<?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: Context date parsing in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319117#M89403</link>
    <description>&lt;P&gt;sorry forgot to hit reply. I've uploaded the additional screenshots... &lt;/P&gt;</description>
    <pubDate>Mon, 18 Jan 2021 09:38:06 GMT</pubDate>
    <dc:creator>SAdlam</dc:creator>
    <dc:date>2021-01-18T09:38:06Z</dc:date>
    <item>
      <title>Context date parsing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319111#M89397</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm fairly new to TOS, and have hit an issue with using a date context variable in a trestclient parameter.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got the context set to date &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000BCpaoAAD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153210iE8EFA1939820EDFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000BCpaoAAD.png" alt="0693p00000BCpaoAAD.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and have chosen a date from the date picker. &lt;/P&gt;&lt;P&gt;then within the trestclient parameter i've got the following to get the unix timestamp time. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000BCpbSAAT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144834iB3DEC47D1990A9B3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000BCpbSAAT.png" alt="0693p00000BCpbSAAT.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting this error though when I run the job.  &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000BCpv3AAD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142569iDB08AFC32BDCF8F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000BCpv3AAD.png" alt="0693p00000BCpv3AAD.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;its almost as if the context variables are not being passed to the trestclient properly. &lt;/P&gt;&lt;P&gt;any pointers please?  i've spent quite alot of time trying to get this working. &lt;/P&gt;&lt;P&gt;it works fine when i put in the figure directly!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&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>Fri, 15 Jan 2021 19:45:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319111#M89397</guid>
      <dc:creator>SAdlam</dc:creator>
      <dc:date>2021-01-15T19:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Context date parsing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319112#M89398</link>
      <description>&lt;P&gt;It might be the format of the date value you are passing in the context.&lt;/P&gt;&lt;P&gt;It should be like this yyyy-mm-dd hh:mm:ss (for ex - 2021-01-17 18:46:14 )&lt;/P&gt;&lt;P&gt;If you check the value filed of the context you can see "..." to select the value.&lt;/P&gt;&lt;P&gt;Use that option to provide the specific value.&lt;/P&gt;&lt;P&gt;And if you want only the date in dd-mm-yyyy format, then you need to change it using "TalendDate.formatDate(pattern, date)".&lt;/P&gt;&lt;P&gt;Or better try to pass date value as string in your rest api call.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2021 13:20:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319112#M89398</guid>
      <dc:creator>Prakhar1</dc:creator>
      <dc:date>2021-01-17T13:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Context date parsing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319113#M89399</link>
      <description>&lt;P&gt;Thanks.  i've been using the date picker, so the format is predefined and looks a what you say. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think i must be doing something wrong across the board as my dbconneciton doens't work either. (get the same null value being parsed for  a db connection. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;uugh.  fairly new to all this! &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 00:36:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319113#M89399</guid>
      <dc:creator>SAdlam</dc:creator>
      <dc:date>2021-01-18T00:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Context date parsing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319114#M89400</link>
      <description>&lt;P&gt;Hi so a quick update.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've set the db conneciotn up in the meta and this works fine.  from the meta I setup a context, which is now passing null values.  even thought the meta based on the context tests ok... &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what am I doing wrong?  It's just not making sense to me! &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Screen shots below. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error &lt;/P&gt;&lt;P&gt;Meta setup. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Component setup. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 00:56:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319114#M89400</guid>
      <dc:creator>SAdlam</dc:creator>
      <dc:date>2021-01-18T00:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Context date parsing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319115#M89401</link>
      <description>&lt;P&gt;The screeshot is not attached .&lt;/P&gt;&lt;P&gt;Could you add it again?&lt;/P&gt;&lt;P&gt;and in which format you are passing value in metadata and how you are passing in the dbConnection.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 06:23:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319115#M89401</guid>
      <dc:creator>Prakhar1</dc:creator>
      <dc:date>2021-01-18T06:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Context date parsing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319116#M89402</link>
      <description>&lt;P&gt;sure sorry not sure how they got missed. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see attached &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Context&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000BDeq4AAD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152071i766560BD74DA5B06/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000BDeq4AAD.png" alt="0693p00000BDeq4AAD.png" /&gt;&lt;/span&gt;Meta&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000BDfTVAA1.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155165i90E34E3255553C0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000BDfTVAA1.png" alt="0693p00000BDfTVAA1.png" /&gt;&lt;/span&gt;Component&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000BDerMAAT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151931iB60B1AD2FCF8CF66/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000BDerMAAT.png" alt="0693p00000BDerMAAT.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000BDerqAAD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146048i61A74FBCD12F02D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000BDerqAAD.png" alt="0693p00000BDerqAAD.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 09:37:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319116#M89402</guid>
      <dc:creator>SAdlam</dc:creator>
      <dc:date>2021-01-18T09:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Context date parsing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319117#M89403</link>
      <description>&lt;P&gt;sorry forgot to hit reply. I've uploaded the additional screenshots... &lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 09:38:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319117#M89403</guid>
      <dc:creator>SAdlam</dc:creator>
      <dc:date>2021-01-18T09:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Context date parsing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319118#M89404</link>
      <description>&lt;P&gt;Might be some jar issues.. can you select the jdbc provider option in tDBOutput and make it as microsoft and then try&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 16:44:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319118#M89404</guid>
      <dc:creator>Prakhar1</dc:creator>
      <dc:date>2021-01-18T16:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Context date parsing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319119#M89405</link>
      <description>&lt;P&gt;Hi  So I'm missing the JDBC Microsoft jar which I'm in the process of installing, but when I enter the values in as text the component works! odd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 14:46:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319119#M89405</guid>
      <dc:creator>SAdlam</dc:creator>
      <dc:date>2021-01-27T14:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Context date parsing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319120#M89406</link>
      <description>&lt;P&gt;nope didn't work still the same issue.  the contexts are passing as "null" rather than the data entered. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 14:56:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319120#M89406</guid>
      <dc:creator>SAdlam</dc:creator>
      <dc:date>2021-01-27T14:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Context date parsing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319121#M89407</link>
      <description>&lt;P&gt;Hi So I've also encounted ther error on onther variables too like the dbname   its passing a null value into the component, but in a msgbox i get the right value...  any pointers from anyone? &lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 15:16:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319121#M89407</guid>
      <dc:creator>SAdlam</dc:creator>
      <dc:date>2021-01-27T15:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Context date parsing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319122#M89408</link>
      <description>&lt;P&gt;Hi, so i think i've found more out. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i use the code System.out.println(context.StagingBiMetaDatabase); in a java component it prints the words null  so i'm just not sure how to overwrite this! as in the ui theres a value in the context. &lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 15:32:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319122#M89408</guid>
      <dc:creator>SAdlam</dc:creator>
      <dc:date>2021-01-27T15:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Context date parsing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319123#M89409</link>
      <description>&lt;P&gt;Just for future reference.  I managed to resolve the issue, by changing the data type to char and then back to a string.  &lt;/P&gt;&lt;P&gt;not sure what's going on there, but I managed to fix it! &lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 16:58:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-date-parsing/m-p/2319123#M89409</guid>
      <dc:creator>SAdlam</dc:creator>
      <dc:date>2021-02-02T16:58:51Z</dc:date>
    </item>
  </channel>
</rss>

