Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Office 365 - developer decisions tips and tricks (Chris O'Brien)

14,898 views

Published on

Covers some advanced development techniques for SharePoint Online, which our team uses for efficient delivery of team-based Office 365 projects. Covers key decisions such as how to deal with test environments, our approach for multiple Office 365 tenancies, choices for development environments, and guidance on how to interpret Microsoft's guidance on the sandbox being deprecated.

A key focus of the presentation is automation of development tasks in Office 365 (e.g. deploying Managed Metadata taxonomy, uploading/activating WSPs to the Solution Gallery etc.)

Published in: Technology

Office 365 - developer decisions tips and tricks (Chris O'Brien)

  1. 1. www.sharepointnutsandbolts.com @ChrisO_Brien http://uk.linkedin.com/in/ chrisobrienmvp
  2. 2. Decisions • Test environments? • Multiple tenancies? • Developer laptops? • Sandbox/sandbox code? Tips and tricks • • • • Provisioning Managed Metadata and taxonomy fields Managed properties/search schema import Scripted deployments to Office 365 Continuous Integration
  3. 3. 100% onpremises/no cloud aspirations “Cloudfriendly” “Cloud-compatible”
  4. 4. YES! MAY BE OK PREFERRED
  5. 5. Client 1 Dev Test Client 2 Dev Test
  6. 6. Client 1 Client 2 Dev (P2) Test (E3) Dev (P2) Test (E3)
  7. 7. 528,728
  8. 8. YES!
  9. 9. Disposable, flexible
  10. 10. “The sandbox is deprecated!” “SharePoint Sandbox isn't Dead...UserCode is”
  11. 11. Our decision: NO - AVOID WHERE POSSIBLE (but sandbox WSP with just XML is OK) Alternatives to server-side sandbox code: JavaScript code (JSOM/REST) Remote Event Receivers PowerShell + CSOM
  12. 12. MAY BE OK OUR CHOICE
  13. 13. Term Set Term Store NOT PRACTICAL!
  14. 14. can control IDs can be used in field definitions
  15. 15. with known GUIDs
  16. 16. http://cobsp.com/1gvh5Hy
  17. 17. Title Page title Job title Project title
  18. 18. PS cmdlets 900 800 700 SharePoint Online 600 500 774 400 300 200 100 0 Poweshell cmdlets On-premises SharePoint Online 30
  19. 19. Importing/exporting taxonomy terms Importing/exporting search schema Recreating site collections Sandbox solution deployment – no API for this! Activating web templates Create publishing pages Uploading files
  20. 20. Office 365 is less limiting than you think And you don’t need to sacrifice engineering practices.. Get comfortable with apps and client-side techniques Key techniques: Provisioning Managed Metadata/fields Importing search schema PS + CSOM deployment scripts Incl. automated WSP deployment
  21. 21. http://spohelper.codeplex.com http://cob-sp.com/11R1Y4K Luis Mañez blog: http://geeks.ms/blogs/lmanez/
  22. 22. THANK YOU! www.sharepointnutsandbolts.com @ChrisO_Brien

×