2

I am required to programatically create a sub-site in another site-collection from a workflow attached to a list. Has anyone a solution for this problem?

I am able to create a sub-site in my site collection using rest API but I am not able to do the same for another site collection.

Thanks in advance.

2 Answers 2

1

For this exists only two ways:

  1. Create your own custom web service, host them for example in azure cloud and call it from workflow.
  2. Use 3rd party solution, for example you can use Create Web actions from Workflow Actions Pack. This product distributed by my company and I'm member of dev team.
0

You can add your own custom code activity in your workflow and in that activity you can use Sharepoint server object model to create site in any other site collection.

3
  • You can't use server object model in sharepoint online.
    – Roman
    May 13, 2014 at 8:02
  • I was not aware about the fact they are using Sharepoint Online. Thanks for the help!!!
    – Aanchal
    May 13, 2014 at 8:15
  • Sorry I didnt mention earlier, I am working on Sharepoint Cloud. May 13, 2014 at 8:31

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.