<?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 Dynamic query condition in tSalesForceInput in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-query-condition-in-tSalesForceInput/m-p/2299871#M72158</link>
    <description>Dear All,
&lt;BR /&gt;I need to set a where clause with a dynamic variable in query condition of a tSalesforceInput component.
&lt;BR /&gt;I got a "MalformedQueryFault" error when i execute my job.
&lt;BR /&gt;The query condition is the following:
&lt;BR /&gt;"select Id,OwnerId,Email,Salutation,MailingPostalCode,Birthdate
&lt;BR /&gt;,MailingState,Description,HasOptedOutOfEmail,DoNotCall
&lt;BR /&gt;,LastName,MailingCountry
&lt;BR /&gt;,FirstName,MailingStreet,Fax,Phone,MobilePhone,Title, MailingCity from Contact
&lt;BR /&gt;where Id= 
&lt;B&gt;'" +(String)globalMap.get("ContactId")+ "' &lt;/B&gt; "
&lt;BR /&gt;I have set the following globalmap to store the ContactIds in a tJavaRow, i don't know if this is possible:
&lt;BR /&gt;globalMap.put("ContactId", input_row.ContactId); (input_row.ContactId is a result of tMap branch which mapping data coming from a csv file)
&lt;BR /&gt;All the best,
&lt;BR /&gt;Anzar</description>
    <pubDate>Sat, 16 Nov 2024 12:16:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T12:16:55Z</dc:date>
    <item>
      <title>Dynamic query condition in tSalesForceInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-query-condition-in-tSalesForceInput/m-p/2299871#M72158</link>
      <description>Dear All,
&lt;BR /&gt;I need to set a where clause with a dynamic variable in query condition of a tSalesforceInput component.
&lt;BR /&gt;I got a "MalformedQueryFault" error when i execute my job.
&lt;BR /&gt;The query condition is the following:
&lt;BR /&gt;"select Id,OwnerId,Email,Salutation,MailingPostalCode,Birthdate
&lt;BR /&gt;,MailingState,Description,HasOptedOutOfEmail,DoNotCall
&lt;BR /&gt;,LastName,MailingCountry
&lt;BR /&gt;,FirstName,MailingStreet,Fax,Phone,MobilePhone,Title, MailingCity from Contact
&lt;BR /&gt;where Id= 
&lt;B&gt;'" +(String)globalMap.get("ContactId")+ "' &lt;/B&gt; "
&lt;BR /&gt;I have set the following globalmap to store the ContactIds in a tJavaRow, i don't know if this is possible:
&lt;BR /&gt;globalMap.put("ContactId", input_row.ContactId); (input_row.ContactId is a result of tMap branch which mapping data coming from a csv file)
&lt;BR /&gt;All the best,
&lt;BR /&gt;Anzar</description>
      <pubDate>Sat, 16 Nov 2024 12:16:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-query-condition-in-tSalesForceInput/m-p/2299871#M72158</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic query condition in tSalesForceInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-query-condition-in-tSalesForceInput/m-p/2299872#M72159</link>
      <description>Hi Anzar
&lt;BR /&gt;Try to give a fixed value of Id and test whether you still get this error.
&lt;BR /&gt;I guess the query may be against the structure of Contact.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Pedro</description>
      <pubDate>Fri, 25 May 2012 04:50:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-query-condition-in-tSalesForceInput/m-p/2299872#M72159</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-25T04:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic query condition in tSalesForceInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-query-condition-in-tSalesForceInput/m-p/2299873#M72160</link>
      <description>Thanks, the query is against Contact structure. This works with a fixed ContactId. My need is to query some contacts coming from a external source, and decide whether to make an update on SFDC. 
&lt;BR /&gt;Anzar.</description>
      <pubDate>Fri, 25 May 2012 07:33:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-query-condition-in-tSalesForceInput/m-p/2299873#M72160</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-25T07:33:26Z</dc:date>
    </item>
  </channel>
</rss>

