Forum Discussion
Can i create a Button/Image that refers to an url, to create a site collection in SP Online?
Hi there,
I was wondering if its possible to create a button/image with that refers to an URL, on a homepage that lets me create site collections (instead of going to the admin center).
Im working with projectsites, every projectsite has different rights so its better to make different site collections for each project but i don't want the end user to go the admin center, he/she just needs to push the button to create a project site collection.
Anyone with experience in this?
Thanks,
Rob
10 Replies
- Dean_GrossSilver Contributor
you may find this article from Deleted of interest http://blog.atwork.at/post/2017/09/28/Provisioning-an-Office-365-group-with-an-approval-flow-and-Azure-functions-part-1
Hi Rob Giesen,
Do you mean like in Teams creating a team?
Or create site in SharePoint that creates a Communication or Team site?
or a button that starts a call to admin.asmx to create a site. (e.g. request list item gets created and a Flow process starts and a site collection is created)
- Rob GiesenBrass Contributor
This option is what im looking for (i pressume this option is admin.asmx) :
You will be looking at creating a service that creates the site collection for you.
So this could be a Flow that calls the admin.asmx or a function app or anything really. Then you could even implement something that applies a pnp template assuming that you don't want to use the out of the box templates.
I'm currently working on a project where the customer creates a site request in SP2016 (on-premises SharePoint so I don't have the option of Flow) Then SharePoint Designer calls a webservice that then calls admin.asmx
So your button could for example use the pnp js libraries to create a list item, this then triggers the Flow that calls admin.asmx.