+ All Categories
Home > Software > SharePoint 2013 Sandbox Solutions for On Premise and Office 365

SharePoint 2013 Sandbox Solutions for On Premise and Office 365

Date post: 18-Feb-2017
Category:
Upload: ed-musters
View: 1,238 times
Download: 0 times
Share this document with a friend
17
Sandbox Solutions for On Prem and O365 Ed Musters SharePoint Architect, Infusion @TechEdToronto Declarative provisioning for: Site Columns, Content Types, List Definitions and Instances, Site Pages, Navigation, Files, and Web Templates Using Visual Studio 2012
Transcript
Page 1: SharePoint 2013 Sandbox Solutions for On Premise and Office 365

Sandbox Solutions for On Prem and O365

Ed MustersSharePoint Architect, Infusion@TechEdToronto

Declarative provisioning for: Site Columns, Content Types, List Definitions and Instances, Site Pages, Navigation, Files, and Web Templates

Using Visual Studio 2012

Page 2: SharePoint 2013 Sandbox Solutions for On Premise and Office 365

{ About.Me() }

https://mvp.support.microsoft.com/profile/Ed.Musters

• IK spreek een beetje nederlands!• I have travelled the furthest to speak at

SPSNL (Toronto, Canada)• Current SharePoint MVP – TENTH year!• Author for two SP development books• SharePoint Architect for Infusion• Speaker at International Conferences on

SharePoint, at user groups, and at SharePoint Saturdays

• Certified Trainer for the industry leading SharePoint training from Critical Path Training

• Holds all MS certifications for SharePoint 2010 (in progress for SP 2013!)

• Harley-Davidson ™ Enthusiast!

Page 3: SharePoint 2013 Sandbox Solutions for On Premise and Office 365

London Kraków Dubai New York Toronto Boston

Page 4: SharePoint 2013 Sandbox Solutions for On Premise and Office 365

Sandbox Solutions for On Premise and Office 365• Session Agenda

−Introduction−Site Columns and Content Types−List Definitions and Instances−Custom Actions−Files – Images and Site Pages−Web Templates−Q & A

Page 5: SharePoint 2013 Sandbox Solutions for On Premise and Office 365

Sandboxed Solutions Deprecated?• But wait! Isn’t the Sandbox deprecated?

−Deploying executable code (DLL) in a Sandbox is deprecated (i.e. no longer allowed)

−Deploying “declarative” solutions is still perfectly valid• Designer Manger output is a Sandbox Solution• “Save As Template” creates Sandbox WSPs• That is, even SP 2013 uses the Sandbox!

• The Sandbox is an excellent method of deploying Site Collection level assets

Page 6: SharePoint 2013 Sandbox Solutions for On Premise and Office 365

Site Columns and Content Types

Page 7: SharePoint 2013 Sandbox Solutions for On Premise and Office 365

Site Columns and Content Types• SharePoint Schema

−Schema in SharePoint is defined by Site Columns and Content Types

−Content Types are typically added to lists, and lists support multiple content types

−Your content type can include, for example, a document template

Page 8: SharePoint 2013 Sandbox Solutions for On Premise and Office 365

List Definitions and Instances

Page 9: SharePoint 2013 Sandbox Solutions for On Premise and Office 365

List Definitions and Instances

• List Definitions and Instances−When you deploy a custom list definition to the site collection root, that list type will be available to create anywhere in the site hierarchy

−You can include the creation of a list instance in your Sandbox, including populating default data items

• Demo!

Page 10: SharePoint 2013 Sandbox Solutions for On Premise and Office 365

Visual Studio Sandbox Solution• Important Notes!

−Specify to “Deploy as sandboxed solution”−Do not forget to set project“Include Assemby” to False

Page 11: SharePoint 2013 Sandbox Solutions for On Premise and Office 365

Custom Actions

Page 12: SharePoint 2013 Sandbox Solutions for On Premise and Office 365

Custom Action• Declaratively add navigation items

−Global Navigation, Quick Launch• Can add to SharePoint Menus

−Site Actions, ECB Menu, Site Settings• Add to SharePoint Ribbon

Page 13: SharePoint 2013 Sandbox Solutions for On Premise and Office 365

Files – Images and Site Pages

Page 14: SharePoint 2013 Sandbox Solutions for On Premise and Office 365

Files• Pages, Images, CSS/JS

−Deploy your images and CSS/JS centrally−Deploy Site Pages and Master Pages• Deploy “branding” – Design Manager package is a Sandbox

−You can “code” using JavaScript, CSOM, REST. Anything is possible with a site page

−Why create a SharePoint App Part and live with the limitations of an iFrame? • E.g. How do you make an App Part responsive?• E.g. http://support.amd.com does not use app parts

Page 15: SharePoint 2013 Sandbox Solutions for On Premise and Office 365

Web Templates

Page 16: SharePoint 2013 Sandbox Solutions for On Premise and Office 365

Web Template• Web Templates

−Creating Team Sites, then heavily modifying them before giving to user?

−Let a web template do the work for you!−Can include provisioning of other Sandbox items we have created

−Mirjam Van Olst presented an entire session on this at SPC 14:• http://

channel9.msdn.com/Events/SharePoint-Conference/2014/SPC305 • Demo!


Recommended