Davide_R
Davide_R

Reputation: 13

Deploy List Definitions, content types and site columns on Office365

I was wondering which is the best way to deploy our typical SharePoint artifacts such as list definitions, content types and site columns that we usually design in Visual Studio to a Office365 site collection.

I have been working on O365 for more than an year now and the only solution that I came up with is to create a sandboxed solution with no code and obviously deploy it to my site.

Unfortunately many clients nowadays don't even want to hear the word "sandboxed", so is there an alternative solution?

Thanks for the help!

Upvotes: 1

Views: 649

Answers (2)

KoenVosters
KoenVosters

Reputation: 431

The Office 365 Patterns and Practices has examples on how to do that:

https://github.com/OfficeDev/PnP

Mainly in https://github.com/OfficeDev/PnP/tree/master/Samples you will find all the items you are looking for.

https://github.com/OfficeDev/PnP/tree/master/Solutions/Provisioning.Framework.Cloud.Async contains a fully built solution with an xml based templating engine to fully provision sites/site collections.

Upvotes: 1

Nan Yu
Nan Yu

Reputation: 27538

Sandbox solutions are still very applicable, especially in O365 .CSOM with PowerShell is another viable alternative solution .This thread has discussed about this topic. Please refer to below article :

Programmatically creating Site Columns and Content Types using the App Model

Upvotes: 0

Related Questions