Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

Branding Deployment in Office 365 and SharePoint 2013/2016

1 591 vues

Publié le

Show different strategies and tool to deploy branding assets to SharePoint

Publié dans : Logiciels
  • Soyez le premier à commenter

Branding Deployment in Office 365 and SharePoint 2013/2016

  1. 1. Silber-Partner: Veranstalter: Branding Deployment in Office 365 und SharePoint 2013/2016 Stefan Bauer (@stfbauer)
  2. 2. n8d.at/blog @StfBauer Information Architect Vienna / Austria
  3. 3. Overview •Pro / Con of current deployment methods •Tips & Tricks on deploy branding •Web Parts / Display Templates / JS Link
  4. 4. Which assets to deploy? Fields / Content Types Master Page Page Templates Images Themes CSS Display Templates JS Link Overrides XSLT Style Sheets Web Parts HTML Snippets List Items
  5. 5. http://my.n8d.at/21Bzagz
  6. 6. Methods of deployment OLD FASHIONED WAY • Copy & Paste • Farm solutions • Sandbox Solutions THE NEW WAY • Provider-hosted add-ins • SharePoint hosed add- ins • PowerShell Deployment (PNP)
  7. 7. Old fashioned way Farm solution SharePoint 2007 – 2016 Ghosting Performance Easy to upgrade Not for Office 365 Sandboxed solution SharePoint 2010 – 2016 Limited access SharePoint Just for file / Content Type Deployment No custom code No auto check in of files
  8. 8. The new way Provider hosted add-in • SharePoint App • Separate Web Site • App Registration • On-premises / Office 365 SharePoint hosted add-in • Upload app • Add to web site • On-Premises / Office 365 JSOM / RESTCSOM / REST
  9. 9. Methods of deployment OLD FASHIONED WAY • Copy & Paste • Farm solutions • Sandbox Solutions THE NEW WAY • Provider-hosted add-ins • SharePoint hosed add- ins • PowerShell Deployment (PNP)
  10. 10. The new way – Office PNP PowerShell Deployment
  11. 11. The new way – Office PNP PowerShell Deployment https://github.com/officedev/pnp-powershell/
  12. 12. Demo – Field deployment
  13. 13. Provision through
 SharePoint Hosted Add-ins Challenges with SharePoint hosted add-ins
  14. 14. AJAX Christmas Tree Jumping between functions Hard to read and change Hardly reusable Improved through Promises
  15. 15. JQuery -How promises work
  16. 16. JQuery – how promises work
  17. 17. jQuery – How promises work
  18. 18. jQuery – How promises work
  19. 19. Demo – Field deployment
  20. 20. Deployment of binary files – JQuery • Reading of binary files is not supported • Broken • Support can be added through extension
  21. 21. Deploy binary fiels – JavaScript
  22. 22. Demo – Binary Files https://github.com/OfficeDev/PnP/tree/master/Samples/ Core.JSOM.BinaryUpload
  23. 23. Display Templates 1. Deploy HTML file 2. Publish HTML file 3. Automatically generate JavaScript File
  24. 24. JSLink, Web Parts • Site Collection / Web Related • XSLT Styles • ~siteCollection • Replace manually with target web address
  25. 25. Recap • Don’t use Farm Solutions or Sandbox Solutions anymore • Use Promises • Better structure your code • Performance • Use techniques that work in • SharePoint on-premises • Office 365
  26. 26. FRAGEN?
  27. 27. Ich freue mich auf Ihr Feedback!
  28. 28. Silber-Partner: Veranstalter: Vielen Dank! Stefan Bauer

×