Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Unanswered

Uploading a document to sharepoint in x++ code

Posted on by 108
Hi experts,
 
I am trying to upload a document to SharePoint. The issue that I am facing is that when I try to create a proxy using 
 
SharePointHelper::CreateProxy(hostName, '/sites/POSOSITE', externalId);
 
I get null as a response and when I added the URL of the SharePoint server to the "Document management parameters" I get an error "
Unable to communicate with the SharePoint server: *servername*.sharepoint.com" when I click on "Test SharePoint connection".
Is there a setting that I need to enable in SharePoint to be able to use it in my code or do I have to register it on Azure?
 
  • Martin Dráb Profile Picture
    Martin Dráb 225,588 Super User on at
    Uploading a document to sharepoint in x++ code
    Another thread with exactly the same title and very similar content was created just one hour later. Couldn't we pick just one of these threads and discuss it there?

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,986 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans