<?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 salesforce SOQL in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/salesforce-SOQL/m-p/2281380#M55923</link>
    <description>&lt;P&gt;I am trying to pull a fields value from Salesforce using Talend.&amp;nbsp; The field name in this case is Afieldname__c and has a datatype=Lookup(AnObject) where AnObject is the object name in Salesforce that has the Afiledname_Org__c field name i am trying to query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error i am getting is :&lt;/P&gt;&lt;P&gt;java.io.IOException: [InvalidFieldFault [ApiQueryFault [ApiFault exceptionCode='INVALID_FIELD'&lt;BR /&gt;exceptionMessage='&lt;BR /&gt;SELECT Afieldname__c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know how I need to setup my schema and construct the query, or dealt with something similar?&amp;nbsp; Please let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your support.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:27:49 GMT</pubDate>
    <dc:creator>onchar</dc:creator>
    <dc:date>2024-11-16T04:27:49Z</dc:date>
    <item>
      <title>salesforce SOQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/salesforce-SOQL/m-p/2281380#M55923</link>
      <description>&lt;P&gt;I am trying to pull a fields value from Salesforce using Talend.&amp;nbsp; The field name in this case is Afieldname__c and has a datatype=Lookup(AnObject) where AnObject is the object name in Salesforce that has the Afiledname_Org__c field name i am trying to query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error i am getting is :&lt;/P&gt;&lt;P&gt;java.io.IOException: [InvalidFieldFault [ApiQueryFault [ApiFault exceptionCode='INVALID_FIELD'&lt;BR /&gt;exceptionMessage='&lt;BR /&gt;SELECT Afieldname__c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know how I need to setup my schema and construct the query, or dealt with something similar?&amp;nbsp; Please let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your support.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:27:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/salesforce-SOQL/m-p/2281380#M55923</guid>
      <dc:creator>onchar</dc:creator>
      <dc:date>2024-11-16T04:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: salesforce SOQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/salesforce-SOQL/m-p/2281381#M55924</link>
      <description>&lt;P&gt;1rst, you must be sure the user you use for the connection has the visibility on the fields you want to query.&lt;/P&gt;&lt;P&gt;2nd, as soon as you don't try to query fields from an associated object, don't use the "Manual query" option. Just complete the schema for the tSalesforceInput component, that's all.&lt;/P&gt;&lt;P&gt;If you want to query a field from a parent object (for example, the object associated with the component is Contact and you want to query Account field), you need to write the query using the dot notation as for any SOQL query (Account.Name in my example).&lt;/P&gt;&lt;P&gt;If the relationship is based on a custom field, you need to replace the "__c" by "__r". For&amp;nbsp;your case, the query must be "&lt;SPAN&gt;Afieldname__r.Afiledname_Org__c".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The last but not the least, in schema you need to replace dots by underscrores characters. If your case, the field in the schema must be&amp;nbsp;"Afieldname__r_Afiledname_Org__c".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Oct 2019 18:35:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/salesforce-SOQL/m-p/2281381#M55924</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-10-05T18:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: salesforce SOQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/salesforce-SOQL/m-p/2281382#M55925</link>
      <description>&lt;P&gt;Thank you...&lt;/P&gt;</description>
      <pubDate>Sun, 06 Oct 2019 23:04:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/salesforce-SOQL/m-p/2281382#M55925</guid>
      <dc:creator>onchar</dc:creator>
      <dc:date>2019-10-06T23:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: salesforce SOQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/salesforce-SOQL/m-p/2281383#M55926</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After replacing by the _ also not working for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me on this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Ly78"&gt;Agreement__r_Name.PNG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LyE3"&gt;error_message.PNG&lt;/A&gt;</description>
      <pubDate>Thu, 26 Mar 2020 17:42:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/salesforce-SOQL/m-p/2281383#M55926</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-26T17:42:15Z</dc:date>
    </item>
  </channel>
</rss>

