<?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: Not able to edit Salesforce tables in Data Editor in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Not-able-to-edit-Salesforce-tables-in-Data-Editor/m-p/2139092#M19515</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/165711"&gt;@hodgesjr0&lt;/a&gt;&amp;nbsp;From the above script I see that LastModifiedDate is in Date format and&amp;nbsp;vPullDateTimeStamp is in Timestamp format. Please keep them both in the same format and then try to execute the query.&lt;/P&gt;</description>
    <pubDate>Sat, 18 Nov 2023 12:29:48 GMT</pubDate>
    <dc:creator>sidhiq91</dc:creator>
    <dc:date>2023-11-18T12:29:48Z</dc:date>
    <item>
      <title>Not able to edit Salesforce tables in Data Editor</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Not-able-to-edit-Salesforce-tables-in-Data-Editor/m-p/2138888#M19508</link>
      <description>&lt;DIV&gt;Hello.&amp;nbsp; I am attempting to load a Salesforce table and have a WHERE clause, but I mostly get the following error.&amp;nbsp; I've removed the WHERE clause and the table loads correctly.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;1. Why can I not add a WHERE clause into the [Campaign] table?&lt;/DIV&gt;
&lt;DIV&gt;2. How do I get this to load with the WHERE clause?&lt;/DIV&gt;
&lt;DIV&gt;3. Is the WHERE clause the actual issue? (date format incompatibility?)&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;//////////////////////////////&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV class="headline edc_error"&gt;The following error occurred:&lt;/DIV&gt;
&lt;DIV class="edc_error"&gt;Batch was not processed, status: Failed : InvalidBatch : Failed to process query: MALFORMED_QUERY: unexpected token: A12&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;///////////////////////////////&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Values:&lt;/DIV&gt;
&lt;DIV&gt;LOAD&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Variable,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Value&lt;/DIV&gt;
&lt;DIV&gt;FROM [lib://Data Inbox - Qlik/Qlik-Scripts/Warehouse ETL/Warehouse ETL - Salesforce/LastReload.txt]&lt;/DIV&gt;
&lt;DIV&gt;(txt, utf8, embedded labels, delimiter is spaces, msq);&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;LET vPullDateTimeStamp = Timestamp(Peek('Variable',0,'Values'),'YYYY-MM-DDThh:mm:ssZ');&lt;/DIV&gt;
&lt;DIV&gt;LET vPullDateDateOnly = date(Peek('Variable',0,'Values'));&lt;/DIV&gt;
&lt;DIV&gt;LET vNumPull = Num(Date(peek('Variable',0,'Values'), 'MM/DD/YYYY'));&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;LIB CONNECT TO 'Data Source - Salesforce';&lt;/DIV&gt;
&lt;DIV&gt;[Campaign]:&lt;/DIV&gt;
&lt;DIV&gt;SELECT&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; LastModifiedDate&lt;/DIV&gt;
&lt;DIV&gt;FROM Campaign&lt;/DIV&gt;
&lt;DIV&gt;WHERE DATE(LastModifiedDate) &amp;gt;= $(vPullDateTimeStamp)&lt;/DIV&gt;
&lt;DIV&gt;;&lt;/DIV&gt;
&lt;DIV&gt;DISCONNECT;&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 Nov 2023 15:34:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Not-able-to-edit-Salesforce-tables-in-Data-Editor/m-p/2138888#M19508</guid>
      <dc:creator>hodgesjr0</dc:creator>
      <dc:date>2023-11-17T15:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to edit Salesforce tables in Data Editor</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Not-able-to-edit-Salesforce-tables-in-Data-Editor/m-p/2139088#M19514</link>
      <description>&lt;P&gt;You need to match the variable / query to match a regular SF query.&lt;/P&gt;
&lt;P&gt;Qlik just passes things through to SF. The error message should show you what the offending line was. It is most likely that $(vPullDateTimeStamp) is either not in the correct/expected format, or it just needs single quotes around it to make it a string.&lt;/P&gt;
&lt;DIV&gt;&lt;STRONG&gt;WHERE DATE(LastModifiedDate) &amp;gt;= '$(vPullDateTimeStamp)'&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;hth&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;-ws&lt;/DIV&gt;</description>
      <pubDate>Sat, 18 Nov 2023 12:11:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Not-able-to-edit-Salesforce-tables-in-Data-Editor/m-p/2139088#M19514</guid>
      <dc:creator>WaltShpuntoff</dc:creator>
      <dc:date>2023-11-18T12:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to edit Salesforce tables in Data Editor</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Not-able-to-edit-Salesforce-tables-in-Data-Editor/m-p/2139092#M19515</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/165711"&gt;@hodgesjr0&lt;/a&gt;&amp;nbsp;From the above script I see that LastModifiedDate is in Date format and&amp;nbsp;vPullDateTimeStamp is in Timestamp format. Please keep them both in the same format and then try to execute the query.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Nov 2023 12:29:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Not-able-to-edit-Salesforce-tables-in-Data-Editor/m-p/2139092#M19515</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2023-11-18T12:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to edit Salesforce tables in Data Editor</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Not-able-to-edit-Salesforce-tables-in-Data-Editor/m-p/2141618#M19546</link>
      <description>&lt;P&gt;Thank you for your speedy reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, the format of [&lt;SPAN&gt;LastModifiedDate] is an odd version of a datetime stamp.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 14:12:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Not-able-to-edit-Salesforce-tables-in-Data-Editor/m-p/2141618#M19546</guid>
      <dc:creator>hodgesjr0</dc:creator>
      <dc:date>2023-11-27T14:12:22Z</dc:date>
    </item>
  </channel>
</rss>

