<?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: Downloading file from SharePoint in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Downloading-file-from-SharePoint/m-p/66653#M19258</link>
    <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/24713"&gt;@Kamal2017&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;You may need to download the most recent version of the VBO from the Digital Exchange. You can find it at the link below:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/utility---http" target="_blank" rel="noopener"&gt;https://digitalexchange.blueprism.com/dx/entry/3439/solution/utility---http&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Fri, 28 Jan 2022 16:08:00 GMT</pubDate>
    <dc:creator>ewilson</dc:creator>
    <dc:date>2022-01-28T16:08:00Z</dc:date>
    <item>
      <title>Downloading file from SharePoint</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Downloading-file-from-SharePoint/m-p/66648#M19253</link>
      <description>Hello All&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am attempting to access a file from Sharepoint. In this scenario, mapping the Sharepoint site to local network drive is not an option and hence I am leveraging the Graph API. I am unable to convert the response from the download file action to the actual file format. I would great appreciate assistance wrt the same or any suitable alternate approach&lt;BR /&gt;&lt;BR /&gt;Thank You&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nupur Sood&lt;BR /&gt;Research Associate&lt;BR /&gt;S&amp;amp;P&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sun, 23 Jan 2022 15:50:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Downloading-file-from-SharePoint/m-p/66648#M19253</guid>
      <dc:creator>NupurSood</dc:creator>
      <dc:date>2022-01-23T15:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: Downloading file from SharePoint</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Downloading-file-from-SharePoint/m-p/66649#M19254</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1003"&gt;@NupurSood&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I'm guessing this is tied to an issue with the Web API services feature that limits it to only handling text-base files properly. To get around this limitation you could use the &lt;STRONG&gt;Utility - HTTP&lt;/STRONG&gt; VBO for this one action. If you look at the definition of the &lt;STRONG&gt;Microsoft Graph - Sharepoint&lt;/STRONG&gt; Web API service you can see the definition of the &lt;EM&gt;&lt;STRONG&gt;Download File&lt;/STRONG&gt;&lt;/EM&gt; action basically boils down to a call to ​the following URL: &lt;BR /&gt;&lt;BR /&gt;https://graph.microsoft.com/v1.0/sites/[SiteId]/drives/[DriveId]/items/[File ItemId]/content&lt;BR /&gt;&lt;BR /&gt;So, if you set the following values on the HTTP VBO's &lt;EM&gt;&lt;STRONG&gt;HTTP Request File&lt;/STRONG&gt;&lt;/EM&gt; action I think you'll be good: &lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;Set the &lt;STRONG&gt;Address&lt;/STRONG&gt; input to the above URL (make sure to enter values for variables SiteId, DriveId, and File ItemId in the URL).&lt;/LI&gt;
&lt;LI&gt;Set the &lt;STRONG&gt;Use Bearer Token&lt;/STRONG&gt; input&amp;nbsp;to True.&lt;/LI&gt;
&lt;LI&gt;Set the &lt;STRONG&gt;Bearer Token&lt;/STRONG&gt; input to the value of the bearer token you received from the Microsoft Graph Authentication VBO.&lt;/LI&gt;
&lt;LI&gt;Set the &lt;STRONG&gt;File Path&lt;/STRONG&gt; input to the location where you want the file written to.&lt;/LI&gt;
&lt;LI&gt;Set the &lt;STRONG&gt;Method&lt;/STRONG&gt; value to GET.&lt;/LI&gt;
&lt;/UL&gt;
Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sun, 23 Jan 2022 21:41:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Downloading-file-from-SharePoint/m-p/66649#M19254</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-01-23T21:41:00Z</dc:date>
    </item>
    <item>
      <title>RE: Downloading file from SharePoint</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Downloading-file-from-SharePoint/m-p/66650#M19255</link>
      <description>Hi Eric,&lt;BR /&gt;&lt;BR /&gt;I am able to run the Download File action for an excel file without any issue as received HTTP response as 200. However, i can't see any files in downloads folder. Any idea where exactly the files are gettings downloaded in machine ?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kamal Ahmed RPA Developer&lt;BR /&gt;Sr. Programming Analyst&lt;BR /&gt;BNY Mellon&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Jan 2022 13:44:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Downloading-file-from-SharePoint/m-p/66650#M19255</guid>
      <dc:creator>Kamal2017</dc:creator>
      <dc:date>2022-01-28T13:44:00Z</dc:date>
    </item>
    <item>
      <title>RE: Downloading file from SharePoint</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Downloading-file-from-SharePoint/m-p/66651#M19256</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/24713"&gt;@Kamal2017&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Let's make sure we're on the same page. When you say you can run the &lt;STRONG&gt;Download File&lt;/STRONG&gt; action, you're referring to the action on the actual &lt;STRONG&gt;Microsoft Graph - Sharepoint&lt;/STRONG&gt; connector, correct? If so, you need to understand that the Web API Service feature of Blue Prism does not actually download files per-se. What it does is captures the response body of the request and presents it to you, as text, in the &lt;STRONG&gt;Response Content&lt;/STRONG&gt; output item. It doesn't write anything to disk.&lt;BR /&gt;&lt;BR /&gt;So, if the content of the response is really just a text-based file you should be able to take the value of Response Content and write it to disk yourself (ex. using the &lt;STRONG&gt;Utility - File Management&lt;/STRONG&gt; VBO) and you're good to go. Where the Web API Services feature croaks is when the content of the response body happens to be binary data (ex. a PDF). In that situation, the Web API converts the content to a string. This conversion basically corrupts the content. From what I've seen there's usually a loss of a certain number of bits. So if you were to try writing the Response Content to disk, as mentioned above, and then tried opening the file you would get an error from the application (ex. trying to open the PDF in Adobe).&lt;BR /&gt;&lt;BR /&gt;That's why I mentioned the use of the &lt;STRONG&gt;Utility - HTTP VBO&lt;/STRONG&gt; above.​ The &lt;EM&gt;&lt;STRONG&gt;HTTP Request File&lt;/STRONG&gt;&lt;/EM&gt; action, of that VBO, properly handles both text and binary file types and it exposes a property that you can set to the path where you want the downloaded file written to.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Jan 2022 14:52:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Downloading-file-from-SharePoint/m-p/66651#M19256</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-01-28T14:52:00Z</dc:date>
    </item>
    <item>
      <title>RE: Downloading file from SharePoint</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Downloading-file-from-SharePoint/m-p/66652#M19257</link>
      <description>Hi Eric,&lt;BR /&gt;&lt;BR /&gt;Yes, I was referring &lt;STRONG&gt;Microsoft Graph - Sharepoint&lt;/STRONG&gt;&amp;nbsp;connector only. Thanks for sharing the information how the download File action works. This made things clear.&lt;BR /&gt;&lt;BR /&gt;About the &lt;STRONG&gt;Utility - HTTP VBO&lt;/STRONG&gt;,&amp;nbsp; Is the &lt;EM&gt;&lt;STRONG&gt;HTTP Request &lt;/STRONG&gt;action&lt;STRONG&gt; and HTTP Request File&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;action are different or one of the same thing ? If same, i am not able to find any File path attribute in this. I have atatched the same for your reference. Could you please assist.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kamal Ahmed RPA Developer&lt;BR /&gt;Sr. Programming Analyst&lt;BR /&gt;BNY Mellon&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Jan 2022 15:32:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Downloading-file-from-SharePoint/m-p/66652#M19257</guid>
      <dc:creator>Kamal2017</dc:creator>
      <dc:date>2022-01-28T15:32:00Z</dc:date>
    </item>
    <item>
      <title>RE: Downloading file from SharePoint</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Downloading-file-from-SharePoint/m-p/66653#M19258</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/24713"&gt;@Kamal2017&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;You may need to download the most recent version of the VBO from the Digital Exchange. You can find it at the link below:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/utility---http" target="_blank" rel="noopener"&gt;https://digitalexchange.blueprism.com/dx/entry/3439/solution/utility---http&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Jan 2022 16:08:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Downloading-file-from-SharePoint/m-p/66653#M19258</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-01-28T16:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: Downloading file from SharePoint</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Downloading-file-from-SharePoint/m-p/66654#M19259</link>
      <description>Hi Eric,&lt;BR /&gt;&lt;BR /&gt;Appreciate all your help. I downloaded this utility and it worked for me to download the respective files from SharePoint online to local drive.&lt;BR /&gt;&lt;BR /&gt;I need one more favor on the action 'Update List Item Column Value' for &lt;STRONG&gt;Microsoft Graph - Sharepoint&lt;/STRONG&gt;&lt;SPAN&gt; connector web API. This ask for the json payload and it tried all permutation and combination to do so but it throws the error either as invalid request or incorrect json format (ref. image uploaded). Could you please help me out to get the json format it works with this action.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kamal Ahmed RPA Developer&lt;BR /&gt;Sr. Programming Analyst&lt;BR /&gt;BNY Mellon&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Feb 2022 15:48:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Downloading-file-from-SharePoint/m-p/66654#M19259</guid>
      <dc:creator>Kamal2017</dc:creator>
      <dc:date>2022-02-01T15:48:00Z</dc:date>
    </item>
    <item>
      <title>RE: Downloading file from SharePoint</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Downloading-file-from-SharePoint/m-p/66655#M19260</link>
      <description>Hi Eric,&lt;BR /&gt;&lt;BR /&gt;In continuation to my earlier email, looking for your help for &lt;STRONG&gt;Microsoft Graph - Sharepoint&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;connector web API - action 'Update List Item Column Value'. I am able to run this successfully now with json format, however it looks that it doesn't update the new value. I tried it multiple times with success but can't see this on response recieved from that call. &lt;BR /&gt;&lt;BR /&gt;Any help will be appreciated.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kamal Ahmed RPA Developer&lt;BR /&gt;Sr. Programming Analyst&lt;BR /&gt;BNY Mellon&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Feb 2022 10:01:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Downloading-file-from-SharePoint/m-p/66655#M19260</guid>
      <dc:creator>Kamal2017</dc:creator>
      <dc:date>2022-02-03T10:01:00Z</dc:date>
    </item>
    <item>
      <title>RE: Downloading file from SharePoint</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Downloading-file-from-SharePoint/m-p/66656#M19261</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/24713"&gt;@Kamal2017&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Sorry I wasn't able to respond yesterday. Can you share the JSON payload (remove or blackout any secure information), so I can see what you're submitting? How many columns are in this list?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Feb 2022 12:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Downloading-file-from-SharePoint/m-p/66656#M19261</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-02-03T12:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: Downloading file from SharePoint</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Downloading-file-from-SharePoint/m-p/66657#M19262</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/24713"&gt;@Kamal2017&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;FYI - This seems to work for me on my test SharePoint site. One thing you might want to check is the properties of the field (aka Column) you're trying to update. They can be marked as read-only. They can also have an associated calculation that must be met for things to work properly. Not sure if these apply to your specific case, but you should verify.&lt;BR /&gt;&lt;BR /&gt;In my case, I added a &lt;STRONG&gt;Single Text Line&lt;/STRONG&gt; column, named &lt;EM&gt;&lt;STRONG&gt;Test Column&lt;/STRONG&gt;&lt;/EM&gt;, to an existing list of documents as pictured below:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="31019.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/31148i61CF88B4D5F81F8B/image-size/large?v=v2&amp;amp;px=999" role="button" title="31019.png" alt="31019.png" /&gt;&lt;/span&gt; After that, I used the Graph action to update the value of the column on the item &lt;STRONG&gt;Test1.xlsx &lt;/STRONG&gt;to set the value to &lt;EM&gt;&lt;STRONG&gt;This is a test&lt;/STRONG&gt;&lt;/EM&gt; as shown below:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="31020.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/31146iDE7ACA6A41003F72/image-size/large?v=v2&amp;amp;px=999" role="button" title="31020.png" alt="31020.png" /&gt;&lt;/span&gt;&lt;BR /&gt;And this is the JSON I used:&lt;BR /&gt;
&lt;PRE class="language-javascript"&gt;&lt;CODE&gt;{
    "TestColumn": "This is a test"
}​&lt;/CODE&gt;&lt;/PRE&gt;
&amp;nbsp;&lt;BR /&gt;Please note, the name you use to reference the column in the JSON, is NOT the &lt;EM&gt;&lt;STRONG&gt;d&lt;/STRONG&gt;&lt;STRONG&gt;isplayName &lt;/STRONG&gt;&lt;/EM&gt;(i.e. the displayed name of the column). It's the&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;name &lt;/STRONG&gt;&lt;/EM&gt;(i.e. internal name). You can find the name of the column by enumerating the list's columns. We don't have an action in the connector for that, but you can add one easy enough. Just copy the &lt;STRONG&gt;Get List by List ID&lt;/STRONG&gt; action and add &lt;STRONG&gt;/columns&lt;/STRONG&gt; to the end of the&lt;STRONG&gt; URL Path&lt;/STRONG&gt;:&lt;BR /&gt;&lt;BR /&gt;/sites/[Site ID]/lists/[List ID]/columns&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Feb 2022 13:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Downloading-file-from-SharePoint/m-p/66657#M19262</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-02-03T13:04:00Z</dc:date>
    </item>
    <item>
      <title>RE: Downloading file from SharePoint</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Downloading-file-from-SharePoint/m-p/66658#M19263</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Abhirup Das&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Apr 2023 15:25:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Downloading-file-from-SharePoint/m-p/66658#M19263</guid>
      <dc:creator>AbhirupDas</dc:creator>
      <dc:date>2023-04-03T15:25:00Z</dc:date>
    </item>
    <item>
      <title>RE: Downloading file from SharePoint</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Downloading-file-from-SharePoint/m-p/66659#M19264</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/35694"&gt;@AbhirupDas1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Have you taken a look at this VBO on the DX?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://digitalexchange.blueprism.com/dx/entry/9648/solution/microsoft-graph-api---download-files" target="_blank" rel="noopener"&gt;https://digitalexchange.blueprism.com/dx/entry/9648/solution/microsoft-graph-api---download-files&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Apr 2023 17:53:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Downloading-file-from-SharePoint/m-p/66659#M19264</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2023-04-03T17:53:00Z</dc:date>
    </item>
  </channel>
</rss>

