sandbox solutions for on prem and o365. { about.me() } ik spreek een beetje nederlands! i have...
TRANSCRIPT
![Page 1: Sandbox Solutions for On Prem and O365. { About.Me() } IK spreek een beetje nederlands! I have travelled](https://reader033.vdocuments.net/reader033/viewer/2022042822/56649e455503460f94b3acce/html5/thumbnails/1.jpg)
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: Sandbox Solutions for On Prem and O365. { About.Me() } IK spreek een beetje nederlands! I have travelled](https://reader033.vdocuments.net/reader033/viewer/2022042822/56649e455503460f94b3acce/html5/thumbnails/2.jpg)
{ 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: Sandbox Solutions for On Prem and O365. { About.Me() } IK spreek een beetje nederlands! I have travelled](https://reader033.vdocuments.net/reader033/viewer/2022042822/56649e455503460f94b3acce/html5/thumbnails/3.jpg)
London Kraków Dubai New York Toronto Boston
![Page 4: Sandbox Solutions for On Prem and O365. { About.Me() } IK spreek een beetje nederlands! I have travelled](https://reader033.vdocuments.net/reader033/viewer/2022042822/56649e455503460f94b3acce/html5/thumbnails/4.jpg)
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: Sandbox Solutions for On Prem and O365. { About.Me() } IK spreek een beetje nederlands! I have travelled](https://reader033.vdocuments.net/reader033/viewer/2022042822/56649e455503460f94b3acce/html5/thumbnails/5.jpg)
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: Sandbox Solutions for On Prem and O365. { About.Me() } IK spreek een beetje nederlands! I have travelled](https://reader033.vdocuments.net/reader033/viewer/2022042822/56649e455503460f94b3acce/html5/thumbnails/6.jpg)
Site Columns and Content Types
![Page 7: Sandbox Solutions for On Prem and O365. { About.Me() } IK spreek een beetje nederlands! I have travelled](https://reader033.vdocuments.net/reader033/viewer/2022042822/56649e455503460f94b3acce/html5/thumbnails/7.jpg)
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: Sandbox Solutions for On Prem and O365. { About.Me() } IK spreek een beetje nederlands! I have travelled](https://reader033.vdocuments.net/reader033/viewer/2022042822/56649e455503460f94b3acce/html5/thumbnails/8.jpg)
List Definitions and Instances
![Page 9: Sandbox Solutions for On Prem and O365. { About.Me() } IK spreek een beetje nederlands! I have travelled](https://reader033.vdocuments.net/reader033/viewer/2022042822/56649e455503460f94b3acce/html5/thumbnails/9.jpg)
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: Sandbox Solutions for On Prem and O365. { About.Me() } IK spreek een beetje nederlands! I have travelled](https://reader033.vdocuments.net/reader033/viewer/2022042822/56649e455503460f94b3acce/html5/thumbnails/10.jpg)
Visual Studio Sandbox Solution• Important Notes!
−Specify to “Deploy as sandboxed solution”−Do not forget to set project“Include Assemby” to False
![Page 11: Sandbox Solutions for On Prem and O365. { About.Me() } IK spreek een beetje nederlands! I have travelled](https://reader033.vdocuments.net/reader033/viewer/2022042822/56649e455503460f94b3acce/html5/thumbnails/11.jpg)
Custom Actions
![Page 12: Sandbox Solutions for On Prem and O365. { About.Me() } IK spreek een beetje nederlands! I have travelled](https://reader033.vdocuments.net/reader033/viewer/2022042822/56649e455503460f94b3acce/html5/thumbnails/12.jpg)
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: Sandbox Solutions for On Prem and O365. { About.Me() } IK spreek een beetje nederlands! I have travelled](https://reader033.vdocuments.net/reader033/viewer/2022042822/56649e455503460f94b3acce/html5/thumbnails/13.jpg)
Files – Images and Site Pages
![Page 14: Sandbox Solutions for On Prem and O365. { About.Me() } IK spreek een beetje nederlands! I have travelled](https://reader033.vdocuments.net/reader033/viewer/2022042822/56649e455503460f94b3acce/html5/thumbnails/14.jpg)
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: Sandbox Solutions for On Prem and O365. { About.Me() } IK spreek een beetje nederlands! I have travelled](https://reader033.vdocuments.net/reader033/viewer/2022042822/56649e455503460f94b3acce/html5/thumbnails/15.jpg)
Web Templates
![Page 16: Sandbox Solutions for On Prem and O365. { About.Me() } IK spreek een beetje nederlands! I have travelled](https://reader033.vdocuments.net/reader033/viewer/2022042822/56649e455503460f94b3acce/html5/thumbnails/16.jpg)
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!