I am having a site with some lists and libraries. I have saved this site a site template. Now I want to create a new sub site with programming. I know we can create from the user interface, but I want it from JavaScript REST/CSOM. Is it possible to do or no support for this kind of functionality? I am looking especially in SharePoint online version.

1 Answer 1


have a look at the link below. I have used it before on SharePoint Online. It deploys a new site with a custom site template whenever a new item is created.


  • please add relevant code snippet to the answer along with the link May 30, 2018 at 13:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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