Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Retrieving pdf file stored in Sharepoint

$
0
0

Hi,

I am trying to retrieve the files stored in SharePoint location as part of CRM integration with SharePoint. I am doing it in Mobile API. I am getting the site url, relative url and document name from CRM.

I am using HHTPRequest to retrieve the document.

string resourceUrl = siteUrl + "/_api/web/GetFolderByServerRelativeUrl('" + relativePath + "')/Files('" + fileName + "')/$value";

I am able to retrieve the document, but not getting entire content. But if I access the above url in browser I am getting the entire pdf document.

Also I tried using direct url to retrieve the same thing is happening.

Any help in this regard will be really helpful.

Regards,

Pramod


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>