Webinar: Social in SharePoint 2013 On-Premise: Optimize and Strategize
SharePoint 2013 Sandbox Solutions for On Premise and Office 365
-
Upload
ed-musters -
Category
Software
-
view
1.244 -
download
0
Transcript of 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
{ 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!
London Kraków Dubai New York Toronto Boston
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
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
Site Columns and Content Types
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
List Definitions and Instances
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!
Visual Studio Sandbox Solution• Important Notes!
−Specify to “Deploy as sandboxed solution”−Do not forget to set project“Include Assemby” to False
Custom Actions
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
Files – Images and Site Pages
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
Web Templates
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!