+ All Categories
Home > Software > Branding Deployment in Office 365 and SharePoint 2013/2016

Branding Deployment in Office 365 and SharePoint 2013/2016

Date post: 10-Jan-2017
Category:
Upload: stefan-bauer
View: 1,160 times
Download: 0 times
Share this document with a friend
30
Silber-Partner: Veranstalter: Branding Deployment in Office 365 und SharePoint 2013/2016 Stefan Bauer (@stfbauer)
Transcript
Page 1: Branding Deployment in Office 365 and SharePoint 2013/2016

Silber-Partner: Veranstalter:

Branding Deployment in Office 365 und SharePoint 2013/2016

Stefan Bauer (@stfbauer)

Page 2: Branding Deployment in Office 365 and SharePoint 2013/2016

n8d.at/blog@StfBauer

Information Architect Vienna / Austria

Page 3: Branding Deployment in Office 365 and SharePoint 2013/2016

Overview

•Pro / Con of current deployment methods •Tips & Tricks on deploy branding •Web Parts / Display Templates / JS Link

Page 4: Branding Deployment in Office 365 and SharePoint 2013/2016

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

Page 5: Branding Deployment in Office 365 and SharePoint 2013/2016

http://my.n8d.at/21Bzagz

Page 6: Branding Deployment in Office 365 and SharePoint 2013/2016

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)

Page 7: Branding Deployment in Office 365 and SharePoint 2013/2016

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

Page 8: Branding Deployment in Office 365 and SharePoint 2013/2016

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

Page 9: Branding Deployment in Office 365 and SharePoint 2013/2016

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)

Page 10: Branding Deployment in Office 365 and SharePoint 2013/2016

The new way – Office PNP PowerShell Deployment

Page 11: Branding Deployment in Office 365 and SharePoint 2013/2016
Page 13: Branding Deployment in Office 365 and SharePoint 2013/2016

Demo – Field deployment

Page 14: Branding Deployment in Office 365 and SharePoint 2013/2016

Provision throughSharePoint Hosted Add-ins

Challenges with SharePoint hosted add-ins

Page 15: Branding Deployment in Office 365 and SharePoint 2013/2016

AJAX Christmas Tree

Jumping between functions

Hard to read and change

Hardly reusable

Improved through Promises

Page 16: Branding Deployment in Office 365 and SharePoint 2013/2016

JQuery -How promises work

Page 17: Branding Deployment in Office 365 and SharePoint 2013/2016

JQuery – how promises work

Page 18: Branding Deployment in Office 365 and SharePoint 2013/2016

jQuery – How promises work

Page 19: Branding Deployment in Office 365 and SharePoint 2013/2016

jQuery – How promises work

Page 20: Branding Deployment in Office 365 and SharePoint 2013/2016

Demo – Field deployment

Page 21: Branding Deployment in Office 365 and SharePoint 2013/2016

Deployment of binary files – JQuery

• Reading of binary files is not supported • Broken

• Support can be added through extension

Page 22: Branding Deployment in Office 365 and SharePoint 2013/2016

Deploy binary fiels – JavaScript

Page 23: Branding Deployment in Office 365 and SharePoint 2013/2016
Page 25: Branding Deployment in Office 365 and SharePoint 2013/2016

Display Templates

1. Deploy HTML file 2. Publish HTML file 3. Automatically generate JavaScript File

Page 26: Branding Deployment in Office 365 and SharePoint 2013/2016

JSLink, Web Parts

• Site Collection / Web Related • XSLT Styles

• ~siteCollection

• Replace manually with target web address

Page 27: Branding Deployment in Office 365 and SharePoint 2013/2016

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

Page 28: Branding Deployment in Office 365 and SharePoint 2013/2016

FRAGEN?

Page 29: Branding Deployment in Office 365 and SharePoint 2013/2016

Ich freue mich auf Ihr Feedback!

Page 30: Branding Deployment in Office 365 and SharePoint 2013/2016

Silber-Partner: Veranstalter:

Vielen Dank!Stefan Bauer


Recommended