<?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: Salesforce --&amp;gt; data warehouse sync job;help following tutorial example in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-gt-data-warehouse-sync-job-help-following-tutorial/m-p/2300368#M72602</link>
    <description>Hi Ben. Did you manage to do this? I'm facing the same challenge now...&lt;BR /&gt;Thanks, goppi</description>
    <pubDate>Tue, 28 Apr 2015 19:47:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-04-28T19:47:53Z</dc:date>
    <item>
      <title>Salesforce --&gt; data warehouse sync job;help following tutorial example</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-gt-data-warehouse-sync-job-help-following-tutorial/m-p/2300363#M72597</link>
      <description>I'm trying to build a sync job that watches for changes in a Salesforce table using the tSalesforceGetUpdated component. I'm trying to follow the example at the very end of this tutorial 
&lt;A href="http://www.youtube.com/watch?v=sx04uHFRjdE&amp;amp;hd=1&amp;amp;autoplay=1&amp;amp;buffer=10&amp;amp;autostart=true&amp;amp;fullscreen=true&amp;amp;width=800&amp;amp;height=450" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.youtube.com/watch?v=sx04uHFRjdE&amp;amp;hd=1&amp;amp;autoplay=1&amp;amp;buffer=10&amp;amp;autostart=true&amp;amp;fullscreen=true&amp;amp;width=800&amp;amp;height=450&lt;/A&gt;, however, not much time is given to the construction of this sample. I have a couple challenges: 
&lt;BR /&gt;What are the components used to store the server timestamp? In the video, they're called "Initial Server Time" and "Save current Server Time". given that the "Start Date" of the tSalesforceGetUpdated component is spec'd as: 
&lt;BR /&gt;TalendDate.formatDate("yyyy-MM-dd HH:mm:ss",context.LAST_UPDATE) 
&lt;BR /&gt;...it looks like the output of the tSalesforceGetServerTimeStamp is pushed into a context variable. I can't even find the components in the default component list, and haven't been able to work out how you write to a context variable from a component. 
&lt;BR /&gt;Also, there's a "loop" component between the tInfiniteLoop and the tSalesforceGetUpdated components, but the icon is completely different from the one in my component list. 
&lt;BR /&gt;Big picture, the goal is: 
&lt;BR /&gt;* Run an infinite loop 
&lt;BR /&gt;* At each interval, poll Salesforce for all records changed since the last iteration 
&lt;BR /&gt;* Test retrieved records against existing records in the warehouse DB 
&lt;BR /&gt;* Write changed records as updates; new recrds as inserts. 
&lt;BR /&gt;* Repeat 
&lt;BR /&gt;Any help working this out would be greatly appreciated! Thanks in advance. -Ben 
&lt;BR /&gt;EDIT: based on this 
&lt;A href="http://talendtutorials.wordpress.com/2012/01/13/storing-temporary-values/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://talendtutorials.wordpress.com/2012/01/13/storing-temporary-values/&lt;/A&gt; it looks like two of the components - the ones receiving the timestamp - are "tJavaRow" components. Still at a loss for the last one, identified as "loop" (since the icon is different from that in my v5.3 TOS). -Ben 
&lt;BR /&gt;EDIT: and yet, I don't seem to have a tJavaRow component in my TOS &amp;lt;sigh&amp;gt;. Struggling onwards... -Ben 
&lt;BR /&gt;EDIT: ok, hopefully final edit for the day: I found out what the last component is: it's a "tJava" component. And, since there's zero information on the configuration or code for this component in the example in the tutorial, that tutorial is kind of useless. And a tease. I'd really like to get this to work, so if anyone from Talend is listening, could you please provide some additional information about the "salesforce_dw_sync" job in the tutorial I cite at the top of this post? Specifically: 
&lt;BR /&gt;What is the Java code for each of the tJava and tJavaRow components? 
&lt;BR /&gt;What are the other configuration parameters for the various tSalesforce* components? 
&lt;BR /&gt;Lastly, I can't find the tJava nor tJavaRow components in my TOS-DI v5.3.1 installation. I tried with the Big Data TOS as well, which the documentation says includes these and the other components on the "Custom Code Palette". However, that palette is missing entirely my from install. I'm just missing something fundamental, methinks. 
&lt;BR /&gt;Thank you very much. -Ben</description>
      <pubDate>Sat, 16 Nov 2024 11:59:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-gt-data-warehouse-sync-job-help-following-tutorial/m-p/2300363#M72597</guid>
      <dc:creator>benu</dc:creator>
      <dc:date>2024-11-16T11:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce --&gt; data warehouse sync job;help following tutorial example</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-gt-data-warehouse-sync-job-help-following-tutorial/m-p/2300364#M72598</link>
      <description>Hi, 
&lt;BR /&gt;I have make a testing on talend open studio for Data Integration 5.3.1r104014, there are tjava and tjavarow component (see my pic). 
&lt;BR /&gt;The components might have been hidden for some reason or the components are loaded, you can active them by following the steps: 
&lt;BR /&gt;1. Open the project settings window, click Designer, then Palette Settings. 
&lt;BR /&gt;2. Check if the components are in the Hide side, if so, move them to the Show side. If the components have been in the Show side, but you do not sill find them in the palette, move them to the Hide side, and move them back to Show side. 
&lt;BR /&gt;In addition, there is a "code" tab in job desktop next to "Designer" tab. If you use 
&lt;A href="https://help.talend.com/search/all?query=tJava&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;tjava&lt;/A&gt; or 
&lt;A href="https://help.talend.com/search/all?query=tJavaRow&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;tjavarow&lt;/A&gt;, the java code will be generated automatically by talend studio. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEho.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140029i93017A0E7027A41F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEho.png" alt="0683p000009MEho.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 28 Jun 2013 08:57:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-gt-data-warehouse-sync-job-help-following-tutorial/m-p/2300364#M72598</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-28T08:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce --&gt; data warehouse sync job;help following tutorial example</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-gt-data-warehouse-sync-job-help-following-tutorial/m-p/2300365#M72599</link>
      <description>Hi Sabrina,
&lt;BR /&gt;Thank you so much! I knew I was missing something pretty straightforward. I now have access to the "Custom Code" components, including both the tJava and tJavaRow components.
&lt;BR /&gt;I think I can figure out how to use the tJavaRow component in the manner suggested by the tutorial.
&lt;BR /&gt;The last thing I'm missing is the configuration and/or code for the tJava component identified as "loop" in the aforementioned tutorial. Is there any way for you to help me with that?
&lt;BR /&gt;Thanks again, and have a great day!
&lt;BR /&gt;-Ben</description>
      <pubDate>Fri, 28 Jun 2013 17:26:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-gt-data-warehouse-sync-job-help-following-tutorial/m-p/2300365#M72599</guid>
      <dc:creator>benu</dc:creator>
      <dc:date>2013-06-28T17:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce --&gt; data warehouse sync job;help following tutorial example</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-gt-data-warehouse-sync-job-help-following-tutorial/m-p/2300366#M72600</link>
      <description>Hello Ben, &lt;BR /&gt;Were you able to create this sync job?&lt;BR /&gt;If so, could you please share the code / configuration used?&lt;BR /&gt;Thanks,&lt;BR /&gt;Rafael</description>
      <pubDate>Wed, 23 Apr 2014 12:43:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-gt-data-warehouse-sync-job-help-following-tutorial/m-p/2300366#M72600</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-04-23T12:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce --&gt; data warehouse sync job;help following tutorial example</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-gt-data-warehouse-sync-job-help-following-tutorial/m-p/2300367#M72601</link>
      <description>Hi Rafael. I did not ever get this up and working properly, and - sadly - I've been pulled off onto other tasks. If I ever do make progress, I'll update this thread. Good luck! -Ben</description>
      <pubDate>Wed, 23 Apr 2014 18:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-gt-data-warehouse-sync-job-help-following-tutorial/m-p/2300367#M72601</guid>
      <dc:creator>benu</dc:creator>
      <dc:date>2014-04-23T18:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce --&gt; data warehouse sync job;help following tutorial example</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-gt-data-warehouse-sync-job-help-following-tutorial/m-p/2300368#M72602</link>
      <description>Hi Ben. Did you manage to do this? I'm facing the same challenge now...&lt;BR /&gt;Thanks, goppi</description>
      <pubDate>Tue, 28 Apr 2015 19:47:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-gt-data-warehouse-sync-job-help-following-tutorial/m-p/2300368#M72602</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-28T19:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce --&gt; data warehouse sync job;help following tutorial example</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-gt-data-warehouse-sync-job-help-following-tutorial/m-p/2300369#M72603</link>
      <description>Hi goppi,
&lt;BR /&gt;Alas, I did not ever get this working, and then my company closed down and I've not been working in Talend for several months. Good luck, and if you figure it out, please come back to this post and enlighten us as to your solution!
&lt;BR /&gt;Regards, Ben</description>
      <pubDate>Tue, 28 Apr 2015 19:56:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-gt-data-warehouse-sync-job-help-following-tutorial/m-p/2300369#M72603</guid>
      <dc:creator>benu</dc:creator>
      <dc:date>2015-04-28T19:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce --&gt; data warehouse sync job;help following tutorial example</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-gt-data-warehouse-sync-job-help-following-tutorial/m-p/2300370#M72604</link>
      <description>Thanks for your quick reply. Would be a shame if this stays unresolved.</description>
      <pubDate>Wed, 29 Apr 2015 07:19:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-gt-data-warehouse-sync-job-help-following-tutorial/m-p/2300370#M72604</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-29T07:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce --&gt; data warehouse sync job;help following tutorial example</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-gt-data-warehouse-sync-job-help-following-tutorial/m-p/2300371#M72605</link>
      <description>I managed to get it working, but considering it's my first ETL job definition, I'm certain there are better ways. 
&lt;BR /&gt;The process in the video worked with Context variables. I&amp;nbsp;used the Context variables, but I couldn't figure out if they would keep the values after f.i. a restart of the ETL server. As such I'm also writing the value into a SQL table. I also played around with one email notification. I'm here only describing the main components: 
&lt;BR /&gt; 
&lt;BR /&gt;tJavaRow_3 - take the&amp;nbsp;previously stored&amp;nbsp;Enddatetime, substract 10 minutes (just in case and overlapping the prev query) and store it in Startdate 
&lt;BR /&gt; 
&lt;PRE&gt;context.Startdate = TalendDate.addDate(input_row.value,"yyyy-MM-dd HH:mm:ss", -10, "mm" );&lt;BR /&gt;&lt;/PRE&gt; 
&lt;BR /&gt;tJavaRow_1 - take the Salesforceservertimestamp and store it in Enddate 
&lt;BR /&gt; 
&lt;PRE&gt;context.Enddate = TalendDate.formatDate("yyyy-MM-dd HH:mm:ss", input_row.ServerTimestamp);&lt;BR /&gt;&lt;/PRE&gt; 
&lt;BR /&gt;tJava_1 - just some noise 
&lt;BR /&gt; 
&lt;PRE&gt;System.out.println("Startdate: " + context.Startdate);&lt;BR /&gt;System.out.println("Enddate: " + context.Enddate);&lt;BR /&gt;&lt;/PRE&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;tJavaRow_4: another noise 
&lt;BR /&gt; 
&lt;PRE&gt;System.out.println("Changed record: " + input_row.name);&lt;BR /&gt;&lt;/PRE&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;tJavaRow_2 - update Start and Enddate and update last updated value in DB: 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;output_row.ServerTimestamp = context.Enddate;&lt;BR /&gt;context.Startdate = TalendDate.addDate(context.Enddate,"yyyy-MM-dd HH:mm:ss", -10, "mm" );&lt;BR /&gt;context.Enddate = TalendDate.formatDate("yyyy-MM-dd HH:mm:ss", input_row.ServerTimestamp);&lt;BR /&gt;&lt;/PRE&gt; 
&lt;BR /&gt;Here is the job: 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/289419/Capture.jpg" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEht.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128560i3C62812EA971587E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEht.jpg" alt="0683p000009MEht.jpg" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;Hope that helps 
&lt;BR /&gt;Goppi</description>
      <pubDate>Thu, 30 Apr 2015 21:15:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-gt-data-warehouse-sync-job-help-following-tutorial/m-p/2300371#M72605</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-30T21:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce --&gt; data warehouse sync job;help following tutorial example</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-gt-data-warehouse-sync-job-help-following-tutorial/m-p/2300372#M72606</link>
      <description>Nice! And really fantastic you came back to update this thread - no doubt you've helped out a number of folks with the same issue (or folks who will in the future) - thanks. I hope I'm in a position to explore this again at some point... -Ben</description>
      <pubDate>Thu, 30 Apr 2015 21:28:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-gt-data-warehouse-sync-job-help-following-tutorial/m-p/2300372#M72606</guid>
      <dc:creator>benu</dc:creator>
      <dc:date>2015-04-30T21:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce --&gt; data warehouse sync job;help following tutorial example</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-gt-data-warehouse-sync-job-help-following-tutorial/m-p/2300373#M72607</link>
      <description>&lt;P&gt;Can you please provide an more insight into each component configuration,the context variables used and an high level work flow with specification.&lt;/P&gt; 
&lt;P&gt;As tsalesforcegetupdated is not well documented and there are no other tutorial/example on internet for the same.Your help will be really valuable.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 11:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-gt-data-warehouse-sync-job-help-following-tutorial/m-p/2300373#M72607</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-23T11:11:27Z</dc:date>
    </item>
  </channel>
</rss>

