<?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 Retrieving values form Salesforce Activity History in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Retrieving-values-form-Salesforce-Activity-History/m-p/2285044#M58666</link>
    <description>I am trying to retrieve values from the SalesForce Activity History. &amp;nbsp;The Activity History itself is not directly queryable but can be accessed in a subquery. &amp;nbsp;The following SOQL query works just fine in SF: 
&lt;BR /&gt;SELECT Id, (SELECT Subject FROM ActivityHistories) FROM Lead LIMIT 5 
&lt;BR /&gt;When I run this query in Talend however I get this... 
&lt;BR /&gt;|=-----------------+-----------------------------=| 
&lt;BR /&gt;|Id &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|Lead_ActivityHistories_Subject| 
&lt;BR /&gt;|=-----------------+-----------------------------=| 
&lt;BR /&gt;|00Q6000000IAUwSEAX|null &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| 
&lt;BR /&gt;|00Q6000000IYWMWEA5|null &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| 
&lt;BR /&gt;|00Q6000000IYwlEEAT|null &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| 
&lt;BR /&gt;|00Q6000000IZBQZEA5|null &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| 
&lt;BR /&gt;|00Q6000000IZNP4EAP|null &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| 
&lt;BR /&gt;'------------------+------------------------------' 
&lt;BR /&gt;The documentation specifies that fields to be returned from linked objects must be specified in the following manner... 
&lt;BR /&gt; 
&lt;I&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto, Helvetica, Arial, sans-serif"&gt;To retrieve a column from a linked module, it is necessary to define the column in a particular manner in the&amp;nbsp;Edit schema&amp;nbsp;view. The correct syntax is:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/I&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;NameofCurrentModule_NameofLinkedModule_NameofColumnofInterest&lt;/PRE&gt; 
&lt;BR /&gt;And you can see from the LogRow output that I have tried that here, however I can not get any results for the Subject field no matter what I try. 
&lt;BR /&gt;My sense is that I am simply not correctly specifying the field(s) that I want in the schema (but I could be wrong about that), but I am at a loss as to what to try. &amp;nbsp;I am not sure if this is relevant but the Subject field that I am after will return what looks like a JSON object. 
&lt;BR /&gt;Anyone have any insight as to how to specify the Subject field here (or what else might be the problem)? &amp;nbsp; 
&lt;BR /&gt;Thanks in advance. &amp;nbsp;Any insight is greatly appreciated.</description>
    <pubDate>Sat, 16 Nov 2024 10:14:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T10:14:16Z</dc:date>
    <item>
      <title>Retrieving values form Salesforce Activity History</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieving-values-form-Salesforce-Activity-History/m-p/2285044#M58666</link>
      <description>I am trying to retrieve values from the SalesForce Activity History. &amp;nbsp;The Activity History itself is not directly queryable but can be accessed in a subquery. &amp;nbsp;The following SOQL query works just fine in SF: 
&lt;BR /&gt;SELECT Id, (SELECT Subject FROM ActivityHistories) FROM Lead LIMIT 5 
&lt;BR /&gt;When I run this query in Talend however I get this... 
&lt;BR /&gt;|=-----------------+-----------------------------=| 
&lt;BR /&gt;|Id &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|Lead_ActivityHistories_Subject| 
&lt;BR /&gt;|=-----------------+-----------------------------=| 
&lt;BR /&gt;|00Q6000000IAUwSEAX|null &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| 
&lt;BR /&gt;|00Q6000000IYWMWEA5|null &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| 
&lt;BR /&gt;|00Q6000000IYwlEEAT|null &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| 
&lt;BR /&gt;|00Q6000000IZBQZEA5|null &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| 
&lt;BR /&gt;|00Q6000000IZNP4EAP|null &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| 
&lt;BR /&gt;'------------------+------------------------------' 
&lt;BR /&gt;The documentation specifies that fields to be returned from linked objects must be specified in the following manner... 
&lt;BR /&gt; 
&lt;I&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto, Helvetica, Arial, sans-serif"&gt;To retrieve a column from a linked module, it is necessary to define the column in a particular manner in the&amp;nbsp;Edit schema&amp;nbsp;view. The correct syntax is:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/I&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;NameofCurrentModule_NameofLinkedModule_NameofColumnofInterest&lt;/PRE&gt; 
&lt;BR /&gt;And you can see from the LogRow output that I have tried that here, however I can not get any results for the Subject field no matter what I try. 
&lt;BR /&gt;My sense is that I am simply not correctly specifying the field(s) that I want in the schema (but I could be wrong about that), but I am at a loss as to what to try. &amp;nbsp;I am not sure if this is relevant but the Subject field that I am after will return what looks like a JSON object. 
&lt;BR /&gt;Anyone have any insight as to how to specify the Subject field here (or what else might be the problem)? &amp;nbsp; 
&lt;BR /&gt;Thanks in advance. &amp;nbsp;Any insight is greatly appreciated.</description>
      <pubDate>Sat, 16 Nov 2024 10:14:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieving-values-form-Salesforce-Activity-History/m-p/2285044#M58666</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving values form Salesforce Activity History</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieving-values-form-Salesforce-Activity-History/m-p/2285045#M58667</link>
      <description>Hi,
&lt;BR /&gt;Try to call the column as "Activity_records_Subject" as you are in a master-detail relationship.
&lt;BR /&gt;Have a look to this link&amp;nbsp;
&lt;A href="https://jira.talendforge.org/browse/TDI-36337" target="_blank" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TDI-36337&lt;/A&gt;.
&lt;BR /&gt;Hope this helps,
&lt;BR /&gt;TRF</description>
      <pubDate>Tue, 22 Nov 2016 16:28:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieving-values-form-Salesforce-Activity-History/m-p/2285045#M58667</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2016-11-22T16:28:39Z</dc:date>
    </item>
  </channel>
</rss>

