<?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: Export Attachments from Salesforce using Teland? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Export-Attachments-from-Salesforce-using-Teland/m-p/2234306#M23716</link>
    <description>&lt;P&gt;The link provided by&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp;is for upload, not for download but you can found many links on Google searching for "java salesforce attachment dowload".&lt;/P&gt;
&lt;P&gt;The principle is derived from the&amp;nbsp;upload process: query the attachment objet - decode64 the body content - create the output file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
    <pubDate>Fri, 14 Dec 2018 13:36:15 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2018-12-14T13:36:15Z</dc:date>
    <item>
      <title>Export Attachments from Salesforce using Teland?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Export-Attachments-from-Salesforce-using-Teland/m-p/2234304#M23714</link>
      <description>&lt;P&gt;please can any one tell me how to export&amp;nbsp;attachments like (xml,pdf....) from Salesfroce&amp;nbsp;using Talend?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 12:50:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Export-Attachments-from-Salesforce-using-Teland/m-p/2234304#M23714</guid>
      <dc:creator>abdelhamed</dc:creator>
      <dc:date>2018-12-14T12:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Export Attachments from Salesforce using Teland?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Export-Attachments-from-Salesforce-using-Teland/m-p/2234305#M23715</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLZtAAO"&gt;@abdelhamed&lt;/A&gt;,check below case may be useful.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCtXOCA0" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/resolved-Upload-Attachment-into-Salesforce/td-p/64490&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 12:55:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Export-Attachments-from-Salesforce-using-Teland/m-p/2234305#M23715</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-12-14T12:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Export Attachments from Salesforce using Teland?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Export-Attachments-from-Salesforce-using-Teland/m-p/2234306#M23716</link>
      <description>&lt;P&gt;The link provided by&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp;is for upload, not for download but you can found many links on Google searching for "java salesforce attachment dowload".&lt;/P&gt;
&lt;P&gt;The principle is derived from the&amp;nbsp;upload process: query the attachment objet - decode64 the body content - create the output file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 13:36:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Export-Attachments-from-Salesforce-using-Teland/m-p/2234306#M23716</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-12-14T13:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Export Attachments from Salesforce using Teland?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Export-Attachments-from-Salesforce-using-Teland/m-p/2234307#M23717</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;can you please help me more i dont know from where i can start.&lt;/P&gt; 
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 14:54:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Export-Attachments-from-Salesforce-using-Teland/m-p/2234307#M23717</guid>
      <dc:creator>abdelhamed</dc:creator>
      <dc:date>2018-12-14T14:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Export Attachments from Salesforce using Teland?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Export-Attachments-from-Salesforce-using-Teland/m-p/2234308#M23718</link>
      <description>&lt;P&gt;As a minimalist solution, connect your tSalesforceInput component to a tJavaRow with the following code:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;if(input_row.BodyLength &amp;gt; 0) {
    File f = new File(context.YourOutputPath + "/" + input_row.Name);
    FileOutputStream output = new FileOutputStream(f);
    byte[] decoded = Base64.decodeBase64(input_row.Body);
    output.write(decoded);
}&lt;/PRE&gt; 
&lt;P&gt;Include the these lines into the advanced settings tab of the tJavaRow component:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;import java.io.File;
import java.io.FileOutputStream;
import org.apache.commons.codec.binary.Base64;&lt;/PRE&gt; 
&lt;P&gt;The schema for the tSalesforce component should look like this:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.png" style="width: 607px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1ig.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134952i9A897FF1AC9A75CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1ig.png" alt="0683p000009M1ig.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Dec 2018 13:55:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Export-Attachments-from-Salesforce-using-Teland/m-p/2234308#M23718</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-12-16T13:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Export Attachments from Salesforce using Teland?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Export-Attachments-from-Salesforce-using-Teland/m-p/2234309#M23719</link>
      <description>&lt;P&gt;&amp;nbsp;Hallo&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;thanks so much it works like magic &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Merci de votre aide&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 12:31:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Export-Attachments-from-Salesforce-using-Teland/m-p/2234309#M23719</guid>
      <dc:creator>abdelhamed</dc:creator>
      <dc:date>2018-12-17T12:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Export Attachments from Salesforce using Teland?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Export-Attachments-from-Salesforce-using-Teland/m-p/2234310#M23720</link>
      <description>That's not magic, that's Talend!</description>
      <pubDate>Mon, 17 Dec 2018 16:45:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Export-Attachments-from-Salesforce-using-Teland/m-p/2234310#M23720</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-12-17T16:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Export Attachments from Salesforce using Teland?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Export-Attachments-from-Salesforce-using-Teland/m-p/2234311#M23721</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;&amp;nbsp;Is there a way to simply pass the file to the next component instead of writing to your local drive?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Ideally I'd like to be passing the created file to a Box folder, therefore using the tBoxInput component which should be accepting the output row.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-09-26 10_23_31-Window.png" style="width: 879px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7fu.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154190i926B9B89CDAFBA03/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7fu.png" alt="0683p000009M7fu.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 17:24:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Export-Attachments-from-Salesforce-using-Teland/m-p/2234311#M23721</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-26T17:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Export Attachments from Salesforce using Teland?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Export-Attachments-from-Salesforce-using-Teland/m-p/2234312#M23722</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQOEAA4"&gt;@IanJones&lt;/A&gt;, add an output field (let say "decoded") with datatype Object for the tJavaRow component and push the result of decodeBase64 to this field.&lt;/P&gt; 
&lt;P&gt;Then, select "Upload Incoming Content" for the Upload mode.&lt;/P&gt; 
&lt;P&gt;This should work (sorry, not tried).&lt;/P&gt; 
&lt;P&gt;If this is not enough, open a new topic.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 18:00:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Export-Attachments-from-Salesforce-using-Teland/m-p/2234312#M23722</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-09-26T18:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Export Attachments from Salesforce using Teland?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Export-Attachments-from-Salesforce-using-Teland/m-p/2234313#M23723</link>
      <description>&lt;P&gt;Hi @Fred Trebuchet​&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I convert ContentVersion into a file in Talend? I believe the body of an attachment and Version Data of a content version are different. Please let me know if you have any workarounds?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 18:18:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Export-Attachments-from-Salesforce-using-Teland/m-p/2234313#M23723</guid>
      <dc:creator>RViswanath1674546562</dc:creator>
      <dc:date>2023-01-24T18:18:09Z</dc:date>
    </item>
  </channel>
</rss>

