<?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: Qlik Salesforce Connector - relationship queries in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Salesforce-Connector-relationship-queries/m-p/1744035#M7841</link>
    <description>&lt;P&gt;Hi Ricardoluz,&lt;BR /&gt;&lt;BR /&gt;Were you able to solve this issue? I am facing a similar problem where contact object's data is not getting loaded.&lt;BR /&gt;Appreciate any help!&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 15 Sep 2020 15:10:39 GMT</pubDate>
    <dc:creator>Vimarsh</dc:creator>
    <dc:date>2020-09-15T15:10:39Z</dc:date>
    <item>
      <title>Qlik Salesforce Connector - relationship queries</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Salesforce-Connector-relationship-queries/m-p/1651536#M7840</link>
      <description>&lt;P&gt;After upgrading the embedded Salesforce connector to version 15.3, the connector is no longer working with&amp;nbsp;&lt;SPAN&gt;fields from multiple tables (relationship queries).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/connectors/Subsystems/Salesforce_Connector_help/Content/Connectors_Salesforce/Load-Salesforce-data/Load-salesforce-data.htm#anchor-5" target="_blank" rel="noopener"&gt;documentation example&lt;/A&gt;&amp;nbsp;results only null values for relationship tables.&lt;/P&gt;&lt;LI-CODE lang="java"&gt;//The LOAD Statements below will only work with SOAP (non-Bulk mode) of the Salesforce connection.
SalesforceConnectorMaster:
SELECT	 Name,
		(SELECT Name FROM Contacts), 
		(SELECT CaseNumber FROM Cases)
FROM Account
WHERE CreatedDate &amp;gt; 2019-11-26T00:00:00Z;


Account.Contacts:
LOAD Account.Contacts.Name,  
	PK_Account.Contacts AS Account.ContactsKey , 
	FK_AccountContacts AS AccountKey 
RESIDENT SalesforceConnectorMaster WHERE NOT IsNull([FK_AccountContacts]);

Account.Cases:
LOAD	Account.Cases.CaseNumber,  
	PK_Account.Cases AS Account.CasesKey , 
	FK_AccountCases AS AccountKey 
RESIDENT SalesforceConnectorMaster WHERE NOT IsNull([FK_AccountCases]);

Account:
LOAD Account.Name,  
	PK_Account AS AccountKey  
RESIDENT SalesforceConnectorMaster  WHERE NOT IsNull([PK_Account]);

DROP Table SalesforceConnectorMaster;&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Relationship.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24461i84AE36E1C08441A0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Relationship.PNG" alt="Relationship.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 20:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Salesforce-Connector-relationship-queries/m-p/1651536#M7840</guid>
      <dc:creator>ricardoluz</dc:creator>
      <dc:date>2021-12-21T20:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Salesforce Connector - relationship queries</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Salesforce-Connector-relationship-queries/m-p/1744035#M7841</link>
      <description>&lt;P&gt;Hi Ricardoluz,&lt;BR /&gt;&lt;BR /&gt;Were you able to solve this issue? I am facing a similar problem where contact object's data is not getting loaded.&lt;BR /&gt;Appreciate any help!&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 15:10:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Salesforce-Connector-relationship-queries/m-p/1744035#M7841</guid>
      <dc:creator>Vimarsh</dc:creator>
      <dc:date>2020-09-15T15:10:39Z</dc:date>
    </item>
  </channel>
</rss>

