<?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 Getting SalesForce.com data via Qlikview Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-SalesForce-com-data-via-Qlikview-Script/m-p/763006#M661648</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm connected to SalesForce.com via the Custom Connect API and I'm running the script below.&amp;nbsp;&amp;nbsp; I see rows being pulled for both SQL statements when executing the script.&amp;nbsp; However, no data is stored in the output file, and no data appears in a TableBox object.&amp;nbsp; Where the heck did the data go?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks,&amp;nbsp;&amp;nbsp; Dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Test1: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Load&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Account__c&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AccountId&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;BAN__c&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Tax_ID__c&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SQL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; SELECT Account__c,&lt;BR /&gt;BAN__c,&lt;BR /&gt;Id,&lt;BR /&gt;Name,&lt;BR /&gt;Tax_ID__c&lt;BR /&gt;FROM Account_BAN_Tax_ID__c;&lt;BR /&gt;&lt;BR /&gt;Test2:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Inner&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Join&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Load&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; *,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AccountId&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SQL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; SELECT BANs__c,&lt;BR /&gt;Id,&lt;BR /&gt;LastActivityDate,&lt;BR /&gt;Total_Sims__c&lt;BR /&gt;FROM Account&lt;BR /&gt;WHERE Id In (Select Account__c From Account_BAN_Tax_ID__c);&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Store&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Test1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; L:\SalesServiceFinancialAnalytics\FinanceAnalytics\Sales_Analytics\DMagnus\Qlikview\Test1.csv(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;txt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;); &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 07 Feb 2015 00:13:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-02-07T00:13:28Z</dc:date>
    <item>
      <title>Getting SalesForce.com data via Qlikview Script</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-SalesForce-com-data-via-Qlikview-Script/m-p/763006#M661648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm connected to SalesForce.com via the Custom Connect API and I'm running the script below.&amp;nbsp;&amp;nbsp; I see rows being pulled for both SQL statements when executing the script.&amp;nbsp; However, no data is stored in the output file, and no data appears in a TableBox object.&amp;nbsp; Where the heck did the data go?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks,&amp;nbsp;&amp;nbsp; Dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Test1: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Load&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Account__c&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AccountId&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;BAN__c&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Tax_ID__c&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SQL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; SELECT Account__c,&lt;BR /&gt;BAN__c,&lt;BR /&gt;Id,&lt;BR /&gt;Name,&lt;BR /&gt;Tax_ID__c&lt;BR /&gt;FROM Account_BAN_Tax_ID__c;&lt;BR /&gt;&lt;BR /&gt;Test2:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Inner&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Join&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Load&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; *,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AccountId&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SQL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; SELECT BANs__c,&lt;BR /&gt;Id,&lt;BR /&gt;LastActivityDate,&lt;BR /&gt;Total_Sims__c&lt;BR /&gt;FROM Account&lt;BR /&gt;WHERE Id In (Select Account__c From Account_BAN_Tax_ID__c);&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Store&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Test1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; L:\SalesServiceFinancialAnalytics\FinanceAnalytics\Sales_Analytics\DMagnus\Qlikview\Test1.csv(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;txt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;); &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Feb 2015 00:13:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-SalesForce-com-data-via-Qlikview-Script/m-p/763006#M661648</guid>
      <dc:creator />
      <dc:date>2015-02-07T00:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Getting SalesForce.com data via Qlikview Script</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-SalesForce-com-data-via-Qlikview-Script/m-p/763007#M661649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mimicked your script and had success getting Case and Account data. I'm using QV 11.2 SR6 and connector version 12 with url to force API version 30.0. I only limited my data to the last 30 days though. I would say that its possible your Id field 'Account__c' in '&lt;STRONG style="color: #3d3d3d; font-size: 8pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;Account_BAN_Tax_ID__c&lt;/STRONG&gt;' isn't? Make sure they are. Check to see if they're 15 or 18 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my code;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test1:&lt;/P&gt;&lt;P&gt;LOAD AccountId,&lt;/P&gt;&lt;P&gt;&amp;nbsp; CaseNumber,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Description,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Subject,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Category__c,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Type_Level_2__c,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Area_Level_3__c;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT AccountId,&lt;/P&gt;&lt;P&gt;&amp;nbsp; CaseNumber,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Description,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Subject,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Category__c,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Type_Level_2__c,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Area_Level_3__c&lt;/P&gt;&lt;P&gt;FROM Case&lt;/P&gt;&lt;P&gt;Where CreatedDate = LAST_N_DAYS:30;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test2:&lt;/P&gt;&lt;P&gt;Inner Join&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; Id as AccountId,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp; District__c;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT Id,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp; District__c&lt;/P&gt;&lt;P&gt;FROM Account&lt;/P&gt;&lt;P&gt;Where Id In (Select AccountId From Case);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Feb 2015 15:53:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-SalesForce-com-data-via-Qlikview-Script/m-p/763007#M661649</guid>
      <dc:creator>johnca</dc:creator>
      <dc:date>2015-02-07T15:53:21Z</dc:date>
    </item>
  </channel>
</rss>

