<?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: Query field on related custom object from custom object in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Query-field-on-related-custom-object-from-custom-object/m-p/2340398#M108435</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Have you tried to verify the salesforce custom object permissions and do this kind of SOQL query to see if there any query result returned via Logging in to the Salesforce workbench?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Thu, 29 Apr 2021 08:03:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-04-29T08:03:10Z</dc:date>
    <item>
      <title>Query field on related custom object from custom object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Query-field-on-related-custom-object-from-custom-object/m-p/2340395#M108432</link>
      <description>&lt;P&gt;I have 2 custom objects related to each other. The first custom object Trial__c has a lookup to custom object OpportunityLineItem2__c.&lt;/P&gt;&lt;P&gt;The lookup is TRI_LKP_Product__c.&lt;/P&gt;&lt;P&gt;I want to get the Name field of OpportunityLineItem2__c by doing a query on Trial__c. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To do this, in the metadata that I get from Salesforce I create a variable as indicated in the Talend documentation:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;The correct syntax is&amp;nbsp;NameofCurrentObject_NameofLinkedObject_NameofColumnofInterest&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The variable I create has the following name: &lt;/P&gt;&lt;P&gt;Trial__c_OpportunityLineItem2__c_Name&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000Eak1rAAB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149845i32B45573711FD3CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000Eak1rAAB.png" alt="0695b00000Eak1rAAB.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I put a tSalesforceInput and perform a manual query like this:&lt;/P&gt;&lt;P&gt;"SELECT Id, TRI_LKP_Product__r.Name FROM Trial__c"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I connect the tSalesforceInput to a tLogRow but receive the null value in that field.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000EajxQAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144177i9BA441491F2EDAA7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000EajxQAAR.png" alt="0695b00000EajxQAAR.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000EajyJAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142802i6F62354A550486F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000EajyJAAR.png" alt="0695b00000EajyJAAR.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could someone tell me what I am doing wrong and could please help me?&lt;/P&gt;&lt;P&gt;Thank you very much in advance!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:12:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Query-field-on-related-custom-object-from-custom-object/m-p/2340395#M108432</guid>
      <dc:creator>rpernas1618300500</dc:creator>
      <dc:date>2024-11-16T00:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Query field on related custom object from custom object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Query-field-on-related-custom-object-from-custom-object/m-p/2340396#M108433</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Could you please post your whole job design screenshots here? Which will be helpful for us to address your issue.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 06:00:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Query-field-on-related-custom-object-from-custom-object/m-p/2340396#M108433</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-29T06:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Query field on related custom object from custom object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Query-field-on-related-custom-object-from-custom-object/m-p/2340397#M108434</link>
      <description>&lt;P&gt;Hi @Xiaodi Shi​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a new job with only the tSalesforceInput and the tLogRow and the same thing keeps happening.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000EawDQAAZ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134688i4D2364D7556371CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000EawDQAAZ.png" alt="0695b00000EawDQAAZ.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000EawE4AAJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135963iC738C351EFB59CD6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000EawE4AAJ.png" alt="0695b00000EawE4AAJ.png" /&gt;&lt;/span&gt;Thanks and regards!!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 07:34:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Query-field-on-related-custom-object-from-custom-object/m-p/2340397#M108434</guid>
      <dc:creator>rpernas1618300500</dc:creator>
      <dc:date>2021-04-29T07:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Query field on related custom object from custom object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Query-field-on-related-custom-object-from-custom-object/m-p/2340398#M108435</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Have you tried to verify the salesforce custom object permissions and do this kind of SOQL query to see if there any query result returned via Logging in to the Salesforce workbench?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 08:03:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Query-field-on-related-custom-object-from-custom-object/m-p/2340398#M108435</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-29T08:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Query field on related custom object from custom object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Query-field-on-related-custom-object-from-custom-object/m-p/2340399#M108436</link>
      <description>&lt;P&gt;Hi @Xiaodi Shi​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, i´ve tried that.&lt;/P&gt;&lt;P&gt;It happens with all custom objects, for example, I have another lookup in Contact that points to another custom object "Dialing_Code__c" and the same thing happens. If I do it with standard objects there is no problem, for example, Contact_Account_Name works fine but if I do it with a custom object it returns nothing. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the syntax correct? &lt;/P&gt;&lt;P&gt;do you have any example where you do a query with custom objects?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 08:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Query-field-on-related-custom-object-from-custom-object/m-p/2340399#M108436</guid>
      <dc:creator>rpernas1618300500</dc:creator>
      <dc:date>2021-04-29T08:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Query field on related custom object from custom object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Query-field-on-related-custom-object-from-custom-object/m-p/2340400#M108437</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Here is a KB article: &lt;A href="https://community.talend.com/s/article/Learned-by-Doing-How-to-create-and-use-a-Salesforce-custom-object-with-a-custom-component-az3bI" alt="https://community.talend.com/s/article/Learned-by-Doing-How-to-create-and-use-a-Salesforce-custom-object-with-a-custom-component-az3bI" target="_blank"&gt;https://community.talend.com/s/article/Learned-by-Doing-How-to-create-and-use-a-Salesforce-custom-object-with-a-custom-component-az3bI&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Let us know if it helps.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 08:19:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Query-field-on-related-custom-object-from-custom-object/m-p/2340400#M108437</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-29T08:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Query field on related custom object from custom object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Query-field-on-related-custom-object-from-custom-object/m-p/2340401#M108438</link>
      <description>&lt;P&gt;Hi @Xiaodi Shi​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't see any relation between my question and the post in the link. In the post there is no query to a related custom object in Salesforce.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 08:26:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Query-field-on-related-custom-object-from-custom-object/m-p/2340401#M108438</guid>
      <dc:creator>rpernas1618300500</dc:creator>
      <dc:date>2021-04-29T08:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Query field on related custom object from custom object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Query-field-on-related-custom-object-from-custom-object/m-p/2340402#M108439</link>
      <description>&lt;P&gt;Finally I was able to get the fields of the related custom object. The syntax was not correct. The documentation indicates that the syntax should be:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;NameofCurrentObject_NameofLinkedObject_NameofColumnofInterest&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the correct syntax to make it work is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;NameofCurrentObject_NameofFieldInRelationMode_NameofColumnofInterest&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Trial__c_TRI_LKP_Product__r_Name&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 09:04:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Query-field-on-related-custom-object-from-custom-object/m-p/2340402#M108439</guid>
      <dc:creator>rpernas1618300500</dc:creator>
      <dc:date>2021-04-29T09:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Query field on related custom object from custom object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Query-field-on-related-custom-object-from-custom-object/m-p/2340403#M108440</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks for letting us know you are able to get the fields of the related custom object and marking this topic as resolved.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 03:46:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Query-field-on-related-custom-object-from-custom-object/m-p/2340403#M108440</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-30T03:46:50Z</dc:date>
    </item>
  </channel>
</rss>

