<?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: Upload content (files) into Salesforce using ContentVersion object in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Upload-content-files-into-Salesforce-using-ContentVersion-object/m-p/2234766#M24009</link>
    <description>&lt;P&gt;Has anyone tried uploading zip files to Salesforce? I am having this requirement where I need to populate multiple zip files from a remote location to Salesforce. My doubt is do I have to convert it to Blob and is it possible to do so using Talend Open studio? Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Sep 2020 13:57:21 GMT</pubDate>
    <dc:creator>freebirdSFDC</dc:creator>
    <dc:date>2020-09-01T13:57:21Z</dc:date>
    <item>
      <title>Upload content (files) into Salesforce using ContentVersion object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Upload-content-files-into-Salesforce-using-ContentVersion-object/m-p/2234759#M24002</link>
      <description>Hi,&lt;BR /&gt;Has anyone ever tried to upload content into Salesforce using ContentVersion object?&lt;BR /&gt;&amp;amp;nbsp;&lt;BR /&gt;Using DataLoader, you have to activiate the "Upload Bulk API as Zip File (enable to upload binary attachments)" option and it works fine.&lt;BR /&gt;With this option activated, DataLoader automatically construct a zip file in which you can found:&lt;BR /&gt;- 1 file per document to load with the name "#attachment_000", "#attachment_001" and so on&lt;BR /&gt;- 1 file called "request.txt" corresponding to the input csv file with&amp;amp;nbsp;the content of the field VersionData has been changed to the&amp;amp;nbsp;corresponding entry in the archive file (#attachment_001 for example)&lt;BR /&gt;&amp;amp;nbsp;&lt;BR /&gt;In tSalesforceOutptuBulkExec (TOS 6.3.1), this option doesn't exists in the settings and trying to run the job with the same input csv file produce the following error message (catched on Salesforce side):&lt;BR /&gt;InvalidBatch : Binary field VersionData is only supported for content types ZIP_XML and ZIP_CSV&lt;BR /&gt;Thank's.&lt;BR /&gt;&amp;amp;nbsp;</description>
      <pubDate>Sat, 16 Nov 2024 09:43:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Upload-content-files-into-Salesforce-using-ContentVersion-object/m-p/2234759#M24002</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2024-11-16T09:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Upload content (files) into Salesforce using ContentVersion object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Upload-content-files-into-Salesforce-using-ContentVersion-object/m-p/2234760#M24003</link>
      <description>Hi TRF
&lt;BR /&gt;I have checked with our developers, tSalesforceOutptuBulkExec component does not support this option yet, he suggested to create a feature request on our bugtracker.
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 05 Jun 2017 13:40:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Upload-content-files-into-Salesforce-using-ContentVersion-object/m-p/2234760#M24003</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-05T13:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Upload content (files) into Salesforce using ContentVersion object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Upload-content-files-into-Salesforce-using-ContentVersion-object/m-p/2234761#M24004</link>
      <description>Hi,
&lt;BR /&gt;how's progress with this option? Did u guys implemented it?
&lt;BR /&gt;Have similar problem with tSalesforceOutptuBulkExec.</description>
      <pubDate>Thu, 20 Sep 2018 10:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Upload-content-files-into-Salesforce-using-ContentVersion-object/m-p/2234761#M24004</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-20T10:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Upload content (files) into Salesforce using ContentVersion object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Upload-content-files-into-Salesforce-using-ContentVersion-object/m-p/2234762#M24005</link>
      <description>&lt;P&gt;Hi, I`m currently doing this. This is how the flow looks like, if you have any question please do let me know.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In my case i have attachments from a legacy system that have been linked to customers. It`s a 2 step flow and it`s using context - 1st step is inserting files into SFDC (using ContentVersion object), 2nd step is quering the imported versions and adding them to a library that is being manually created in advance and sharing to all users through a Public group (Using ContentDocumentObject).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In the first part I`m reading the files from a folder, then i have two csv files where i`m doing two lookups - one for the filename and one for the customer.&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-left" image-alt="Files.PNG" style="width: 932px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0QR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154922iCDDAF84937E2C5E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0QR.png" alt="0683p000009M0QR.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&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-left" image-alt="contentversion mapping.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0QW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146007i48A431D99404B01D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0QW.png" alt="0683p000009M0QW.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 20:23:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Upload-content-files-into-Salesforce-using-ContentVersion-object/m-p/2234762#M24005</guid>
      <dc:creator>Stamen_Nikolov</dc:creator>
      <dc:date>2018-10-10T20:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Upload content (files) into Salesforce using ContentVersion object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Upload-content-files-into-Salesforce-using-ContentVersion-object/m-p/2234763#M24006</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying ton insert PDF File in salesForce (ContentVersion), and i know that i must convert the File in 64 base's, is it possible to show the java code in your tjavarow component.&lt;/P&gt;
&lt;P&gt;Thank's&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2018 16:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Upload-content-files-into-Salesforce-using-ContentVersion-object/m-p/2234763#M24006</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-28T16:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Upload content (files) into Salesforce using ContentVersion object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Upload-content-files-into-Salesforce-using-ContentVersion-object/m-p/2234764#M24007</link>
      <description>&lt;P&gt;Hi, arezki&lt;BR /&gt;Here some sapmle may be proper to u:&lt;/P&gt; 
&lt;PRE&gt;FileInputStream pdfDocument = new FileInputStream(file);
    byte[] documentData = new byte[(int)file.length()];
    
    //fill array with some bytes
    pdfDocument.read(documentData);
    
    // Convert bytes array to Base64 string to fill Body field
    output_row.Body = new String(Base64.encodeBase64(documentData));&lt;/PRE&gt; 
&lt;P&gt;You should import the&amp;nbsp;org.apache.commons.codec.binary.Base64 first which&amp;nbsp;is lay in&amp;nbsp;commons-codec-1.11.jar&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 11:19:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Upload-content-files-into-Salesforce-using-ContentVersion-object/m-p/2234764#M24007</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-29T11:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Upload content (files) into Salesforce using ContentVersion object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Upload-content-files-into-Salesforce-using-ContentVersion-object/m-p/2234765#M24008</link>
      <description>thank's F uncleYar. It ok form me</description>
      <pubDate>Tue, 04 Dec 2018 15:21:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Upload-content-files-into-Salesforce-using-ContentVersion-object/m-p/2234765#M24008</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-04T15:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Upload content (files) into Salesforce using ContentVersion object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Upload-content-files-into-Salesforce-using-ContentVersion-object/m-p/2234766#M24009</link>
      <description>&lt;P&gt;Has anyone tried uploading zip files to Salesforce? I am having this requirement where I need to populate multiple zip files from a remote location to Salesforce. My doubt is do I have to convert it to Blob and is it possible to do so using Talend Open studio? Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 13:57:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Upload-content-files-into-Salesforce-using-ContentVersion-object/m-p/2234766#M24009</guid>
      <dc:creator>freebirdSFDC</dc:creator>
      <dc:date>2020-09-01T13:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Upload content (files) into Salesforce using ContentVersion object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Upload-content-files-into-Salesforce-using-ContentVersion-object/m-p/2234767#M24010</link>
      <description>&lt;P&gt;Hello @Stamen Nikolov​,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to achieve the same use case.&lt;/P&gt;&lt;P&gt;However, the snapshots you've posted are somehow not active.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you pls share them again ?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Beste regards&lt;/P&gt;</description>
      <pubDate>Sun, 28 Mar 2021 16:04:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Upload-content-files-into-Salesforce-using-ContentVersion-object/m-p/2234767#M24010</guid>
      <dc:creator>kholio_ak</dc:creator>
      <dc:date>2021-03-28T16:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Upload content (files) into Salesforce using ContentVersion object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Upload-content-files-into-Salesforce-using-ContentVersion-object/m-p/2234768#M24011</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting the same error (InvalidBatch : Binary field VersionData is only supported for content types ZIP_XML and ZIP_CSV) while trying to upload the file using tSalesforceOutptuBulkExec? Is the support still not available?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 12:07:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Upload-content-files-into-Salesforce-using-ContentVersion-object/m-p/2234768#M24011</guid>
      <dc:creator>VRagothaman</dc:creator>
      <dc:date>2021-07-06T12:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Upload content (files) into Salesforce using ContentVersion object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Upload-content-files-into-Salesforce-using-ContentVersion-object/m-p/2234769#M24012</link>
      <description>&lt;P&gt;Thank you for the info, But I want to upload the files using talend not using Data loader.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 09:50:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Upload-content-files-into-Salesforce-using-ContentVersion-object/m-p/2234769#M24012</guid>
      <dc:creator>VRagothaman</dc:creator>
      <dc:date>2021-07-08T09:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Upload content (files) into Salesforce using ContentVersion object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Upload-content-files-into-Salesforce-using-ContentVersion-object/m-p/2234770#M24013</link>
      <description>&lt;P&gt;Hi all,  I'm attempting to do exactly as the original post detailed to upload photos for Contacts via ContentVersion object.  I have successfully tested via DataLoader.  In Talend, I think I'm having trouble with the part where it needs to be zipped/encoded properly.  When I send to Salesforce, it looks to me like Salesforce doesn't recognize it as a zip and so it fails when trying to read it.  Has anyone had success and can provide additional details?  Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 16:11:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Upload-content-files-into-Salesforce-using-ContentVersion-object/m-p/2234770#M24013</guid>
      <dc:creator>larasc</dc:creator>
      <dc:date>2022-03-23T16:11:42Z</dc:date>
    </item>
  </channel>
</rss>

