You need to sign in to do that
Don't have an account?

Uploading file from salesforce REST API to Sharepoint
Hello,
I have a lightning component from which I upload a file and store it to content version. I need to upload the same file in SharePoint but I am getting BAD REQUEST error.
How should I set the content for a file and how to write the API for the same from APEX?
TIA
I have a lightning component from which I upload a file and store it to content version. I need to upload the same file in SharePoint but I am getting BAD REQUEST error.
How should I set the content for a file and how to write the API for the same from APEX?
TIA
Greetings to you!
Please refer to the below links which might help you further with the above requirement.
https://salesforce.stackexchange.com/questions/250293/sharepoint-integration-from-apex
http://ibirdstechshare.blogspot.com/2019/04/sharepoint-integration-with-salesforce.html
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.
Thanks and Regards,
Khan Anas