<?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: How to use 'IN' keyword in tSalesforceInput in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-IN-keyword-in-tSalesforceInput/m-p/2225885#M18001</link>
    <description>&lt;P&gt;Connect your tFileInputDelimited to a tJavaFlex like this one:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tjavaflex.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9sn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144856i1493625FCD104E26/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9sn.png" alt="0683p000009M9sn.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Now you can use the global variable (here nammed OBSIds) to build the IN clause:&lt;/P&gt; 
&lt;PRE&gt;"SELECT blablabla 
FROM yourObject
WHERE blablabla IN (" + (String)globalMap.get("OBSIds") + ")"&lt;/PRE&gt;</description>
    <pubDate>Tue, 03 Mar 2020 11:33:50 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2020-03-03T11:33:50Z</dc:date>
    <item>
      <title>How to use 'IN' keyword in tSalesforceInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-IN-keyword-in-tSalesforceInput/m-p/2225884#M18000</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following scenario:&lt;/P&gt;&lt;P&gt;fFileInputDelimiter -&amp;gt; tHashOutput&lt;/P&gt;&lt;P&gt;fFileInputDelimiter&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;id,external_key,name
123,foo123,bar
456,foo456,rab
789,foo789,abc&lt;/PRE&gt;&lt;P&gt;All of these information I would like to have for later use in the tHashOutput. (Works)&lt;/P&gt;&lt;P&gt;Know I want to have a tSalesforceInput with a query like:&lt;/P&gt;&lt;P&gt;Select id from Account where external_key__c IN (&amp;lt;2nd column of the tFileInputDelmiter&amp;gt;)&lt;/P&gt;&lt;P&gt;So this is a list of Ids and I have no idea how to put them into a list, globalVar or similar in order to use them in my tSalesforceInput.&lt;/P&gt;&lt;P&gt;The query must have the following format:&lt;/P&gt;&lt;PRE&gt;Select id from Account where external_key__c IN ('foo123','foo456','foo789')&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;What is the best way to accomplish this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;udo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:06:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-IN-keyword-in-tSalesforceInput/m-p/2225884#M18000</guid>
      <dc:creator>udotheman</dc:creator>
      <dc:date>2024-11-16T03:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to use 'IN' keyword in tSalesforceInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-IN-keyword-in-tSalesforceInput/m-p/2225885#M18001</link>
      <description>&lt;P&gt;Connect your tFileInputDelimited to a tJavaFlex like this one:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tjavaflex.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9sn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144856i1493625FCD104E26/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9sn.png" alt="0683p000009M9sn.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Now you can use the global variable (here nammed OBSIds) to build the IN clause:&lt;/P&gt; 
&lt;PRE&gt;"SELECT blablabla 
FROM yourObject
WHERE blablabla IN (" + (String)globalMap.get("OBSIds") + ")"&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 Mar 2020 11:33:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-IN-keyword-in-tSalesforceInput/m-p/2225885#M18001</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2020-03-03T11:33:50Z</dc:date>
    </item>
  </channel>
</rss>

