Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

Download file from sharepoint fails as "SharePointHelper::GetFileContents" returning null value

Posted on by 11
Hi All,
 
We have a requirment to download PDF file from sharepoint.
I used below link to write the code:
 
In my case everything works file till it reaches below code :
file = SharePointHelper::GetFileContents(proxy, uri);
 
This code is currently returning null value.
 
We are using team sharepoint (Sharepoint online).
URL format used is :
https://XXXXXXXXXX.sharepoint.com/:b:/r/sites/<TEAM GROUP NAME>/Shared%20Documents/<SUB GROUP NAME>/<FOLDER>/TESTPDF.pdf
 
Please let me know if i am missing anything.
 
How do i get this code to return file content?
 
Please let me if any further information is required.
 
Regards,
Ajay K S
 
  • AS-22040756-0 Profile Picture
    AS-22040756-0 11 on at
    Download file from sharepoint fails as "SharePointHelper::GetFileContents" returning null value
    Hi,
     
    Anyone has any update on this ? 
    Please let me know your feedback.
     
    Regards,
    Ajay K S

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans