<?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 Download file from Salesforce using API in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Download-file-from-Salesforce-using-API/m-p/69453#M22058</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I would like some advice regarding how to download a file from Salesforce to local folder.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'm using the BP Skill "Salesforce" to obtain the ContentDocumentId.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt; I use the following "GET" API to retrieve&amp;nbsp;the base-64 from Salesforce&lt;BR /&gt;&lt;BR /&gt;/services/data/v47.0/sobjects/ContentVersion/[Id]/VersionData&lt;BR /&gt;&lt;BR /&gt;I'm stuck with how to convert the response content to a physical file.&lt;BR /&gt;&lt;BR /&gt;I figure I have to use the code stage to convert the data, but I'm not quite sure how to achieve it.&lt;BR /&gt;Any help would be highly appreciated.&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;&lt;BR /&gt;Met Vonghiran&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Met Vonghiran&lt;BR /&gt;Consultant&lt;BR /&gt;Deloitte&lt;BR /&gt;Asia/Tokyo&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 20 Jul 2020 14:05:00 GMT</pubDate>
    <dc:creator>MetVonghiran</dc:creator>
    <dc:date>2020-07-20T14:05:00Z</dc:date>
    <item>
      <title>Download file from Salesforce using API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Download-file-from-Salesforce-using-API/m-p/69453#M22058</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I would like some advice regarding how to download a file from Salesforce to local folder.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'm using the BP Skill "Salesforce" to obtain the ContentDocumentId.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt; I use the following "GET" API to retrieve&amp;nbsp;the base-64 from Salesforce&lt;BR /&gt;&lt;BR /&gt;/services/data/v47.0/sobjects/ContentVersion/[Id]/VersionData&lt;BR /&gt;&lt;BR /&gt;I'm stuck with how to convert the response content to a physical file.&lt;BR /&gt;&lt;BR /&gt;I figure I have to use the code stage to convert the data, but I'm not quite sure how to achieve it.&lt;BR /&gt;Any help would be highly appreciated.&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;&lt;BR /&gt;Met Vonghiran&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Met Vonghiran&lt;BR /&gt;Consultant&lt;BR /&gt;Deloitte&lt;BR /&gt;Asia/Tokyo&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Jul 2020 14:05:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Download-file-from-Salesforce-using-API/m-p/69453#M22058</guid>
      <dc:creator>MetVonghiran</dc:creator>
      <dc:date>2020-07-20T14:05:00Z</dc:date>
    </item>
    <item>
      <title>RE: Download file from Salesforce using API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Download-file-from-Salesforce-using-API/m-p/69454#M22059</link>
      <description>Hello Met,&lt;BR /&gt;&lt;BR /&gt;Would you be able to show me the JSON or other language response that you get from the call so that I can see what you can see if it is blueprism or if you are using Postman to trial these API calls?&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ronan Considine&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Jul 2020 15:21:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Download-file-from-Salesforce-using-API/m-p/69454#M22059</guid>
      <dc:creator>RonanConsidine</dc:creator>
      <dc:date>2020-07-24T15:21:00Z</dc:date>
    </item>
  </channel>
</rss>

