My requirement is when a button clicked in my application(hosted on a different server), need to check folder exists with the named supplied. If not exits, able to create folder and sub folders in a given Document library.

So how to achieve above functionality and also what technologies(Rest_api / CSOM) should I use? Do I have to pass credentials also to create(permissions)?

I appreciate for your time and provide me solution.


A code sample using REST and the SharePoint Javascript cross-domain library to perform basic operations on document libraries and files:


| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.