Skip to main content

Notifications

Announcements

No record found.

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans