<?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 Collect data from SalesForce table LoginHistory in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Collect-data-from-SalesForce-table-LoginHistory/m-p/603248#M1228918</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want to collect data mainly from table LoginHistory and also from table Region.&lt;/P&gt;&lt;P&gt;We have the SalesForce connector v11 SR1 downloaded on qlik site.&lt;/P&gt;&lt;P&gt;We are in QlikView 11.2 SR3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Through the connection window to SalesForce in QlikView, we put our login and password (we don't have token security), we select API version 11.&lt;/P&gt;&lt;P&gt;We have a connection string like this : &lt;/P&gt;&lt;P&gt;CUSTOM CONNECT TO "Provider=SalesForceDLL.dll;F11;XUserId=xxxxxx;XPassword=xxxxx;";&lt;/P&gt;&lt;P&gt;We can load data from table Region, but the script crashes during loading of table LoginHistory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After, I've seen in documentation that the table LoginHistory is available only since version 21 of the API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, in the connection window, I put API version 21, and I have the connection string below :&lt;/P&gt;&lt;P&gt;CUSTOM CONNECT TO "Provider=SalesForceDLL.dll;F21;XUserId=xxxxxx;XPassword=xxxxx;";&lt;/P&gt;&lt;P&gt;after that, the script loads correctly, there is no error, and loads x lines from the 2 tables.&lt;/P&gt;&lt;P&gt;But all my data is null, both in LoginHistory and Region.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to connect directly in SalesForce with the same user, and I successfully executed the request :&lt;/P&gt;&lt;P&gt;SELECT UserId, LoginTime from LoginHistory;&lt;/P&gt;&lt;P&gt;And I have some results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why all my data is null?&lt;/P&gt;&lt;P&gt;Do I need specific rights?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 21:26:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2026-01-26T21:26:37Z</dc:date>
    <item>
      <title>Collect data from SalesForce table LoginHistory</title>
      <link>https://community.qlik.com/t5/QlikView/Collect-data-from-SalesForce-table-LoginHistory/m-p/603248#M1228918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want to collect data mainly from table LoginHistory and also from table Region.&lt;/P&gt;&lt;P&gt;We have the SalesForce connector v11 SR1 downloaded on qlik site.&lt;/P&gt;&lt;P&gt;We are in QlikView 11.2 SR3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Through the connection window to SalesForce in QlikView, we put our login and password (we don't have token security), we select API version 11.&lt;/P&gt;&lt;P&gt;We have a connection string like this : &lt;/P&gt;&lt;P&gt;CUSTOM CONNECT TO "Provider=SalesForceDLL.dll;F11;XUserId=xxxxxx;XPassword=xxxxx;";&lt;/P&gt;&lt;P&gt;We can load data from table Region, but the script crashes during loading of table LoginHistory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After, I've seen in documentation that the table LoginHistory is available only since version 21 of the API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, in the connection window, I put API version 21, and I have the connection string below :&lt;/P&gt;&lt;P&gt;CUSTOM CONNECT TO "Provider=SalesForceDLL.dll;F21;XUserId=xxxxxx;XPassword=xxxxx;";&lt;/P&gt;&lt;P&gt;after that, the script loads correctly, there is no error, and loads x lines from the 2 tables.&lt;/P&gt;&lt;P&gt;But all my data is null, both in LoginHistory and Region.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to connect directly in SalesForce with the same user, and I successfully executed the request :&lt;/P&gt;&lt;P&gt;SELECT UserId, LoginTime from LoginHistory;&lt;/P&gt;&lt;P&gt;And I have some results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why all my data is null?&lt;/P&gt;&lt;P&gt;Do I need specific rights?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 21:26:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Collect-data-from-SalesForce-table-LoginHistory/m-p/603248#M1228918</guid>
      <dc:creator />
      <dc:date>2026-01-26T21:26:37Z</dc:date>
    </item>
  </channel>
</rss>

