<?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 a file from Sharepoint in Digital Exchange</title>
    <link>https://community.blueprism.com/t5/Digital-Exchange/Downloading-a-file-from-Sharepoint/m-p/50400#M240</link>
    <description>Hi Shashank,&lt;BR /&gt;&lt;BR /&gt;Seems like the asset doesn't exist..&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5903.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/6088iCC51D81A5DFDF408/image-size/large?v=v2&amp;amp;px=999" role="button" title="5903.png" alt="5903.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ankita Karnany&lt;BR /&gt;Principal Consultant&lt;BR /&gt;Agilisys&lt;BR /&gt;London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 17 Mar 2022 08:58:00 GMT</pubDate>
    <dc:creator>anmaheswa</dc:creator>
    <dc:date>2022-03-17T08:58:00Z</dc:date>
    <item>
      <title>Downloading a file from Sharepoint</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Downloading-a-file-from-Sharepoint/m-p/50398#M238</link>
      <description>How to download a file using the sharepoint url. I am aware of the mapping Sharepoint to explorer option however that won't work in my case. I tried using File management utility and download File action but it pops up with the forbidden error message. However it's not due to access, as manually I am able to perform the same operation.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ankita Karnany&lt;BR /&gt;Principal Consultant&lt;BR /&gt;Agilisys&lt;BR /&gt;London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Mar 2022 23:09:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Downloading-a-file-from-Sharepoint/m-p/50398#M238</guid>
      <dc:creator>anmaheswa</dc:creator>
      <dc:date>2022-03-16T23:09:00Z</dc:date>
    </item>
    <item>
      <title>RE: Downloading a file from Sharepoint</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Downloading-a-file-from-Sharepoint/m-p/50399#M239</link>
      <description>Hi Ankita,&lt;BR /&gt;&lt;BR /&gt;Have you tried using the Graph API based Sharepoint asset available on DX &lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/microsoft-graph-api---sharepoint" target="test_blank"&gt;https://digitalexchange.blueprism.com/dx/entry/3439/solution/microsoft-graph-api---sharepoint&lt;/A&gt;. There is an action available in it that downloads file.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shashank Kumar&lt;BR /&gt;DX Integrations Partner Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;Singapore&lt;BR /&gt;+6581326707&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Mar 2022 05:16:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Downloading-a-file-from-Sharepoint/m-p/50399#M239</guid>
      <dc:creator>shashank.kumar280</dc:creator>
      <dc:date>2022-03-17T05:16:00Z</dc:date>
    </item>
    <item>
      <title>RE: Downloading a file from Sharepoint</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Downloading-a-file-from-Sharepoint/m-p/50400#M240</link>
      <description>Hi Shashank,&lt;BR /&gt;&lt;BR /&gt;Seems like the asset doesn't exist..&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5903.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/6088iCC51D81A5DFDF408/image-size/large?v=v2&amp;amp;px=999" role="button" title="5903.png" alt="5903.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ankita Karnany&lt;BR /&gt;Principal Consultant&lt;BR /&gt;Agilisys&lt;BR /&gt;London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Mar 2022 08:58:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Downloading-a-file-from-Sharepoint/m-p/50400#M240</guid>
      <dc:creator>anmaheswa</dc:creator>
      <dc:date>2022-03-17T08:58:00Z</dc:date>
    </item>
    <item>
      <title>RE: Downloading a file from Sharepoint</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Downloading-a-file-from-Sharepoint/m-p/50401#M241</link>
      <description>Hi Ankita,&lt;BR /&gt;&lt;BR /&gt;Can you try this link &lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/microsoft-graph-api---sharepoint" target="test_blank"&gt;https://digitalexchange.blueprism.com/dx/entry/3439/solution/microsoft-graph-api---sharepoint&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shashank Kumar&lt;BR /&gt;DX Integrations Partner Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;Singapore&lt;BR /&gt;+6581326707&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Mar 2022 10:17:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Downloading-a-file-from-Sharepoint/m-p/50401#M241</guid>
      <dc:creator>shashank.kumar280</dc:creator>
      <dc:date>2022-03-17T10:17:00Z</dc:date>
    </item>
    <item>
      <title>RE: Downloading a file from Sharepoint</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Downloading-a-file-from-Sharepoint/m-p/50402#M242</link>
      <description>Hey Shashank,&lt;BR /&gt;&lt;BR /&gt;I have managed to download the API, however could you also help with the parameters I need to pass . I haven't used it earlier so not aware on how we can use this.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5905.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/6085i2135208E1B4DCC3E/image-size/large?v=v2&amp;amp;px=999" role="button" title="5905.png" alt="5905.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ankita Karnany&lt;BR /&gt;Principal Consultant&lt;BR /&gt;Agilisys&lt;BR /&gt;London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Mar 2022 11:38:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Downloading-a-file-from-Sharepoint/m-p/50402#M242</guid>
      <dc:creator>anmaheswa</dc:creator>
      <dc:date>2022-03-17T11:38:00Z</dc:date>
    </item>
    <item>
      <title>RE: Downloading a file from Sharepoint</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Downloading-a-file-from-Sharepoint/m-p/50403#M243</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/827"&gt;@anmaheswa&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;There's a new VBO that should be published to the DX early next week. It's called &lt;STRONG&gt;Microsoft Graph - Dowload Files&lt;/STRONG&gt;. The VBO provides a simplified means of downloading files from various Microsoft resources including SharePoint, OneDrive, Group drives, User drives, and Pre-Authenticated URLs.&lt;BR /&gt;&lt;BR /&gt;The &lt;EM&gt;&lt;STRONG&gt;Download File&lt;/STRONG&gt;&lt;/EM&gt; action on the &lt;STRONG&gt;Microsoft Graph - SharePoint&lt;/STRONG&gt; connector may or may not work for you. The issue is that the connector is built using the Web API feature of Blue Prism and that feature doesn't like downloading files that contain binary content (ex. PDFs). That's why we create the new VBO. It can handle binary files as expected.&lt;BR /&gt;&lt;BR /&gt;If the file you're trying to download from SharePoint is a regular text file, the Download File action will work find. There are a few things you need to understand though in order to use the Microsoft Graph assets:&lt;BR /&gt;&lt;BR /&gt;
&lt;OL&gt;
&lt;LI&gt;You also need to use the &lt;STRONG&gt;Microsoft Graph - Authentication&lt;/STRONG&gt; VBO. You can find that &lt;A href="https://digitalexchange.blueprism.com/dx/entry/9648/solution/microsoft-graph-api---authentication" target="_blank" rel="noopener"&gt;here&lt;/A&gt;. This VBO is used to request an access token from Microsoft. You need to keep track of that token and pass it in as an input parameter to most of the other Microsoft Graph connectors.&lt;/LI&gt;
&lt;LI&gt;To use the Authentication VBO you need a few things:
&lt;OL&gt;
&lt;LI&gt;You need to know your &lt;STRONG&gt;Tenant ID&lt;/STRONG&gt; on Microsoft 365. Your tenant ID has two forms: You domain or a GUID. Here are some examples: &lt;EM&gt;contoso.onmicrosoft.com&lt;/EM&gt; or &lt;EM&gt;471d90aa-6db9-4a11-9479-799d3a8d7547&lt;/EM&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;You'll also need a Client ID and Client Secret (for an Application Access token). If you want a Delegated Access token you'll need a Client ID, Client Secret and the username and password of the user account you're trying work on behalf of. There's information about this in the Microsoft Graph - Authentication VBOs user guide.&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;Once you have the Authentication VBO sorted and you're able to issue a successful request for a token you'll be ready to work with SharePoint connector. At this point you need to know the Site ID, Drive ID, and File ID of the specific file you want to download. These ID's are unique alphanumeric identifiers. You can get them by working through some of the other actions available on the SharePoint connection (namely the Get and List operations) to see the details of items within the SharePoint site. Alternatively, you could try using Microsoft's &lt;A href="https://developer.microsoft.com/en-us/graph/graph-explorer" target="_blank" rel="noopener"&gt;Graph Explorer&lt;/A&gt; utility to get that information. &lt;BR /&gt;&lt;BR /&gt;Graph Explorer is a web-based utility for testing the various Graph endpoints.&lt;/LI&gt;
&lt;/OL&gt;
I know all of that sounds like a lot and to a certain extent it is. Once you start working with Graph things start to make sense though. Now, if you're in a hurry and you have access to the direct download URL for a file on SharePoint, you can use the &lt;STRONG&gt;&lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/utility---http" target="_blank" rel="noopener"&gt;Utility - HTTP&lt;/A&gt;&lt;/STRONG&gt;&amp;nbsp;VBO to download the file. Just make sure you get the latest version of that VBO from the Digital Exchange.&lt;BR /&gt;&lt;BR /&gt;That VBO has a action called &lt;EM&gt;&lt;STRONG&gt;HTTP Request File&lt;/STRONG&gt;&lt;/EM&gt;. You can pass in your URL, set the &lt;EM&gt;Method&lt;/EM&gt; to &lt;STRONG&gt;GET&lt;/STRONG&gt;, enter the &lt;EM&gt;FilePath&lt;/EM&gt; (where you want to file saved to), and you should be good to go. That is assuming the URL you have doesn't require authentication.&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, 17 Mar 2022 23:52:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Downloading-a-file-from-Sharepoint/m-p/50403#M243</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-03-17T23:52:00Z</dc:date>
    </item>
    <item>
      <title>RE: Downloading a file from Sharepoint</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Downloading-a-file-from-Sharepoint/m-p/50404#M244</link>
      <description>Thanks a lot Eric for the detailed information you have provided. Let me give it a a go and I shall get back to you in case of any concerns. Appreciate your help on this.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ankita Karnany&lt;BR /&gt;Principal Consultant&lt;BR /&gt;Agilisys&lt;BR /&gt;London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Mar 2022 21:52:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Downloading-a-file-from-Sharepoint/m-p/50404#M244</guid>
      <dc:creator>anmaheswa</dc:creator>
      <dc:date>2022-03-21T21:52:00Z</dc:date>
    </item>
    <item>
      <title>RE: Downloading a file from Sharepoint</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Downloading-a-file-from-Sharepoint/m-p/50405#M245</link>
      <description>&lt;P&gt;I have a &lt;SPAN&gt;direct download URL of SharePoint but it needs authentication.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;My link is : &lt;A href="https://spanet.sharepoint.com/sites/TOC/Lists/OMS%20%20Application%20Data/Attachments/954/VA-21841.pdf" target="test_blank"&gt;https://spanet.sharepoint.com/sites/TOC/Lists/OMS%20%20Application%20Data/Attachments/954/VA-21841.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;What do I need to do to download directly from&lt;SPAN&gt; the download URL using &amp;nbsp;&lt;STRONG&gt;&lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/utility---http" target="_blank" rel="noopener"&gt;Utility - HTTP&lt;/A&gt;&lt;/STRONG&gt; VBO?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I tried &lt;STRONG&gt;&lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/utility---http" target="_blank" rel="noopener"&gt;Utility - HTTP&lt;/A&gt; &lt;/STRONG&gt;but got a &lt;STRONG&gt;404 Unauthorized &lt;/STRONG&gt;error.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How to pass the authentication?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5916.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/6101i5D50A7E8CB42A13E/image-size/large?v=v2&amp;amp;px=999" role="button" title="5916.png" alt="5916.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Abhirup Das&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Mar 2023 03:43:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Downloading-a-file-from-Sharepoint/m-p/50405#M245</guid>
      <dc:creator>AbhirupDas</dc:creator>
      <dc:date>2023-03-29T03:43:00Z</dc:date>
    </item>
    <item>
      <title>RE: Downloading a file from Sharepoint</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Downloading-a-file-from-Sharepoint/m-p/50406#M246</link>
      <description>&lt;P&gt;Looks like the user doesn't have the necessary permissions to download the file.&lt;/P&gt;
&lt;P&gt;Please check the permissions in the Azure portal&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5919.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/6100iECCC0172E32571EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="5919.png" alt="5919.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/graph/api/driveitem-get-content?view=graph-rest-1.0&amp;amp;tabs=http&amp;nbsp;" target="test_blank"&gt;https://learn.microsoft.com/en-us/graph/api/driveitem-get-content?view=graph-rest-1.0&amp;amp;tabs=http&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shashank Kumar&lt;BR /&gt;DX Integrations Partner Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;Singapore&lt;BR /&gt;+6581326707&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Mar 2023 04:19:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Downloading-a-file-from-Sharepoint/m-p/50406#M246</guid>
      <dc:creator>shashank.kumar280</dc:creator>
      <dc:date>2023-03-29T04:19:00Z</dc:date>
    </item>
    <item>
      <title>RE: Downloading a file from Sharepoint</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Downloading-a-file-from-Sharepoint/m-p/50407#M247</link>
      <description>&lt;P&gt;I check the permission is given.&lt;/P&gt;
&lt;P&gt;The Action Properties are following :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5923.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/6104i7479739F2D546961/image-size/large?v=v2&amp;amp;px=999" role="button" title="5923.png" alt="5923.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Can you please guide me what I'm doing wrong?&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Abhirup Das&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Mar 2023 05:41:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Downloading-a-file-from-Sharepoint/m-p/50407#M247</guid>
      <dc:creator>AbhirupDas</dc:creator>
      <dc:date>2023-03-29T05:41:00Z</dc:date>
    </item>
    <item>
      <title>RE: Downloading a file from Sharepoint</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Downloading-a-file-from-Sharepoint/m-p/50408#M248</link>
      <description>&lt;P&gt;Are you getting 404 Not Found error ?&amp;nbsp; (and not Unauthorized error)&lt;/P&gt;
&lt;P&gt;Are you able to download using your URL in browser or using Postman?&lt;/P&gt;
&lt;P&gt;You could use &lt;STRONG&gt;Microsoft Graph - Download Files&lt;/STRONG&gt;&lt;SPAN&gt; asset as mentioned in the thread above as this asset specifically caters to downloading files.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Refer this thread for the correct url to use &lt;A href="https://community.blueprism.com/communities/community-home/digestviewer/viewthread?GroupId=145&amp;amp;MessageKey=8412c079-3d51-404d-9b83-a440d2b61758&amp;amp;CommunityKey=3743dbaa-6766-4a4d-b7ed-9a98b6b1dd01?utm_source=blueprism&amp;amp;utm_medium=pweb&amp;amp;utm_campaign=gl-web-2022-q1-12-3-community-related-discussions" target="test_blank"&gt;https://community.blueprism.com/communities/community-home/digestviewer/viewthread?GroupId=145&amp;amp;MessageKey=8412c079-3d51-404d-9b83-a440d2b61758&amp;amp;CommunityKey=3743dbaa-6766-4a4d-b7ed-9a98b6b1dd01?utm_source=blueprism&amp;amp;utm_medium=pweb&amp;amp;utm_campaign=gl-web-2022-q1-12-3-community-related-discussions&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shashank Kumar&lt;BR /&gt;DX Integrations Partner Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;Singapore&lt;BR /&gt;+6581326707&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 07:52:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Downloading-a-file-from-Sharepoint/m-p/50408#M248</guid>
      <dc:creator>shashank.kumar280</dc:creator>
      <dc:date>2023-03-29T07:52:00Z</dc:date>
    </item>
  </channel>
</rss>

