<?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 context variable to get current date and using in web-api to get data in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/context-variable-to-get-current-date-and-using-in-web-api-to-get/m-p/2304473#M76243</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I already have talked with you about my talend job.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;That was my job to get data from web api in json form and convert that into xml using tjava component.&amp;nbsp;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana,"&gt;tLibraryLoad---&amp;gt;tRest---&amp;gt;tJavaRow---&amp;gt;tFileoutputDelimited---&amp;gt;tfileoutputxml---&amp;gt;tlogrow&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;I always use date in url to get json data of specific date. But I want to automate whole process daily so that I dont need to change date manually in url for json data.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm looking any context variable so that I could pass into url and whenever the job runs daily it will automatically take the current date and fetch data accordingly.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have created small talend job for the same but not getting the trick to connect with above mentioned job.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MGqE.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155350iD5C8A07442AF8032/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MGqE.png" alt="0683p000009MGqE.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;From this job am getting current date and now want to pass this date's key:value &amp;nbsp;in above trest component present in above job.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can you please guide me for the same ?&lt;/P&gt;</description>
    <pubDate>Mon, 26 Oct 2015 18:25:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-26T18:25:41Z</dc:date>
    <item>
      <title>context variable to get current date and using in web-api to get data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/context-variable-to-get-current-date-and-using-in-web-api-to-get/m-p/2304473#M76243</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I already have talked with you about my talend job.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;That was my job to get data from web api in json form and convert that into xml using tjava component.&amp;nbsp;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana,"&gt;tLibraryLoad---&amp;gt;tRest---&amp;gt;tJavaRow---&amp;gt;tFileoutputDelimited---&amp;gt;tfileoutputxml---&amp;gt;tlogrow&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;I always use date in url to get json data of specific date. But I want to automate whole process daily so that I dont need to change date manually in url for json data.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm looking any context variable so that I could pass into url and whenever the job runs daily it will automatically take the current date and fetch data accordingly.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have created small talend job for the same but not getting the trick to connect with above mentioned job.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MGqE.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155350iD5C8A07442AF8032/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MGqE.png" alt="0683p000009MGqE.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;From this job am getting current date and now want to pass this date's key:value &amp;nbsp;in above trest component present in above job.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can you please guide me for the same ?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2015 18:25:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/context-variable-to-get-current-date-and-using-in-web-api-to-get/m-p/2304473#M76243</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-26T18:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: context variable to get current date and using in web-api to get data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/context-variable-to-get-current-date-and-using-in-web-api-to-get/m-p/2304474#M76244</link>
      <description>How do you define the URL without context variable on tRest now? Can you give us an example so that I can give you an accurate&amp;nbsp;answer?</description>
      <pubDate>Mon, 02 Nov 2015 06:21:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/context-variable-to-get-current-date-and-using-in-web-api-to-get/m-p/2304474#M76244</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-02T06:21:36Z</dc:date>
    </item>
  </channel>
</rss>

