Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Provisioning Sites, Lists, Libraries etc within SharePoint

Previously when provisioning list, libraries, site columns, content types, list definitions etc in SharePoint I typically used SharePoint features, deployed via a WSP - or used PowerShell scripts. This meant I had a package that could be deployed to DEV / TEST / PROD.

I'm working with SharePoint within Office 365 and unsure on the best way to provision lists / libraries / features within SharePoint.

Options:

No Code Sandboxed Solutions Trying to avoid using these as the information from Microsoft on whether they are deprecated is flaky - however sandboxed solutions would allow me to deploy features with list definitions etc. I know sandboxed solutions with c# are definitely deprecated, but the info around no code solutions is poor.

Apps I know apps can provision at both the app and host web level, but creating lists, libraries etc using the CSOM seems like a lot of effort and a step backwards.

PowerShell The SP Online PowerShell is nowhere near as powerful as on-prem SP. I can provision site collections through this, but not lists or libraries...

I'm keen to know how other developers are deploying to Office 365, specifically around provisioning sites with specific list definitions, libraries, content types and so on...

Thanks

like image 265
dhendry Avatar asked Mar 25 '14 12:03

dhendry


People also ask

What is site provisioning in SharePoint?

Web templates WSP file. It is a provisioning technique that relies on the SharePoint Feature Framework, and which stores the . WSP in the solution gallery of any target Site Collection. It's a technique to create a new site based on the Information Architecture of an already existing site.

What are the types of sites in SharePoint?

Foundationally, SharePoint has two different types of sites in the modern experience - communication sites and team sites.

What is the difference between site and site collection in SharePoint?

SharePoint Site is a website that contains different SharePoint Web Parts like Document Library, Calendar, Task List, etc. SharePoint sites can have 1 or more pages to display content to the user. SharePoint Site Collection, just as the name implies, is a collection of SharePoint Sites.


1 Answers

Microsoft did clarify the position on No Code Sandbox solutions - http://blogs.msdn.com/b/sharepointdev/archive/2014/01/14/deprecation-of-custom-code-in-sandboxed-solutions.aspx

Also if you are looking at using Powershell to deploy then you might want to go down the route of using CSOM from within PowerShell - SharePoint Client Browser for SharePoint 2013 is good for setting up a session also very good for viewing the content of a 365 tenant - http://spcb.codeplex.com/

like image 155
Al Eardley Avatar answered Sep 19 '22 13:09

Al Eardley