SlideShare a Scribd company logo
Building Responsive Intranet
Solutions in SharePoint Modern
Experience Sites using SharePoint
Framework with React
Asish Padhy
About me
- SharePoint, Office 365 and Azure Solutions Consultant
at Kloud Solutions
- 12 years of experience working on SharePoint and MS
Technologies
- I am a Consultant, Architect, Project Lead and always
a Developer.
- Microsoft Certified Professional in SharePoint
https://www.linkedin.com/in/asishpadhy
https://asishpadhy.com
https://blog.kloud.com.au/author/asishpadhykloud/
@asishpadhy
PnP Updates
Modern Experience Features
• Inbuilt Responsive and Mobile design support
• Support for client end frameworks for development
• Contain native news, quick links, and activity capabilities through pre-built
web parts
• ModernTeam Sites support Groups features
• Tenant wide fast deployment support
Modern Experience Customization Challenges
• MS list of limitations - https://docs.microsoft.com/en-us/sharepoint/dev/solution-
guidance/modern-experience-customizations-customize-sites
• No custom master page support
• No direct access to master page elements. Indirectly through Javascript or JQuery scripting.
JQuery can be used to locate static div
• Hard to use CSS extensibility when trying to use children. Use ‘aria-label’ property if want
to
• No availability to create in place navigation menu items for current navigation or left hand
navigation.Cannot realign navigation or header items
• No support for SharePoint hosted apps and Provider hosted apps
• React routing makes it hard to put a handler for events
Intranet Possibilities ?
• Communication Sites
• For full content layout ( the home layout in team sites doesn’t give full content layout
• Easy to use user managed multi level navigation (it is quick launch of classic sites, so will not
inherit navigation to children)
• Current update of News posts - Link
• Gives the most closest experience to Intranet
• Cannot update publishing feature (Dec 2017)
• ModernTeam Sites
• Group Options – Conversations, email alias, outlook integration
• Managing members is different than Classic Sites
• Can enable publishing feature
• Completely different lifecycle
Intranet Possibilities?
• ClassicTeam Sites with Modern Pages
• Hybrid solution
• Keep content in classic team sites to take advantages of functionalities
• Get more control in customizing master
• Create Modern pages and use modern list view, programmatically even
• JS Scripting and JS Link supported
So what are our options with Modern ?
• SPFx - Client Side web parts hosted and deployed through CDN
• SPFx - Extension components on Header, Footer and List Menus (Not navigation bar)
• Section and layout choices (cannot have custom grid layout options)
• Apply SharePoint themes (new)
• Apply Site Designs and Site Scripts (new) – Link
• SharePoint Field Formatting (Column formatter or SPFx Field formatter)
• PowerApps and Flow Integration options directly from list views
• Upcoming latest OOB SharePoint client side web parts
SharePoint Framework (SPFx) ?
• The SharePoint Framework (SPFx) is a page and web part model that
provides full support for client-side development and open source tooling.
• SPFx allows to create Client side web parts and extensions which can be
integrated with Modern experience pages
• SPFx integrates with React, Office Fabric UI and many other third party
JavaScript and CSS Libraries (a welcome change)
• Support Local development and not required connection to SharePoint
Mapping of Old approaches to the NewTooling
SP Components Old Approach (On-Prem and Classic) New Approach (Modern Experience)
Web Parts FullTrust Solution or Sandbox SPFx Client side web parts
Apps SharePoint Hosted or Provider Hosted SPFxWPs with REST Calls or Functions
Master Page Branding Custom Branding Solutions SharePoint themes
Content on Pages CEWPs or Script Editor Client side web parts or Content Only
Field Customization JS Link Column Formatter or SPFx field
formatter
List Menu Custom User Actions SPFx ListView Extension
Navigation Custom Branding solution SPFx ApplicationCustomizer Extension
Site Pages Page Layouts andTemplates SharePoint Online CSOM options
Programming Options Server (C#,VB.Net) and Client Side Client Side Frameworks such as React,
Knockout and Angular etc.
SharePoint Framework SDLC
• Devs – JavaScript ,TypeScript, (not much JQuery) and SASS (SCSS)
• Set up SharePoint Framework components on Local computer
• Set up a debug configuration inVS Code – Install Debugger for Chrome
• Deploy,Test and fix locally on SharePoint
• Deploy assets to a CDN (Office 365 Public or Azure CDN)
• Enable CORS with Container
• Deploy package to SharePointApps Catalog
• Choose betweenTenant wide and Site deployment
SPFx with React and Office Fabric/Bootstrap
• Component based
• Controlled and managed via States
• HTML in object encapsulated
• It will automatically update and render the component when data changes.
• Responsive controls through Office Fabric and Bootstrap
• Office Fabric React is already included as part of SPFx solution
• Bootstrap needs to be explicitly included from NPM
ImportantTips
• Know about the component lifecycle events in React components to prevent
erroneous looping such as ComponentDidUpdate() and shouldComponentUpdate()
https://reactjs.org/docs/react-component.html
• Don’t update the state variables directly, use setState method for state updates
• Don’t update the npm packages to their latest versions such as Jquery (~3.2) and
office-fabric-ui-react. There are conflicts with latest versions
• If using PnP JS modules, remember to use await or then clauses, in order to get the
results before chaining the operations
Important tips
• Await can only be called in Async methods.
• Not everything in CSOM or Object model is directly available in PnP JS or
SharePoint REST
• Typescript strict rules such as object level binding and mapping
• Not all versions of JQuery are supported, so might have to install particular
types - npm install @types/jquery@2.0.48 --save-dev
Demo
Reusable Controls
Quick Links
• PnP Pattern and Practices - https://dev.office.com/patterns-and-practices
• Build Documentation - https://docs.microsoft.com/en-us/sharepoint/dev/
• SharePoint Framework - https://docs.microsoft.com/en-
us/sharepoint/dev/spfx/sharepoint-framework-overview
• Office Fabric - https://developer.microsoft.com/en-us/fabric
• Github (Client Web parts) - https://github.com/SharePoint/sp-dev-fx-webparts/
• Github (Extensions) - https://github.com/SharePoint/sp-dev-fx-extensions

More Related Content

What's hot

Sharepoint 2019 Training
Sharepoint 2019 TrainingSharepoint 2019 Training
Sharepoint 2019 Training
Agusto Sipahutar
 
Introduction to SharePoint Framework (SPFx)
Introduction to SharePoint Framework (SPFx)Introduction to SharePoint Framework (SPFx)
Introduction to SharePoint Framework (SPFx)
Fabio Franzini
 
Advantages of SharePoint Online
Advantages of SharePoint OnlineAdvantages of SharePoint Online
Advantages of SharePoint Online
Rishabh Software
 
SharePoint Tutorial and SharePoint Training - Introduction
SharePoint Tutorial and SharePoint Training - IntroductionSharePoint Tutorial and SharePoint Training - Introduction
SharePoint Tutorial and SharePoint Training - Introduction
Gregory Zelfond
 
Power BI Architecture
Power BI ArchitecturePower BI Architecture
Power BI Architecture
Arthur Graus
 
Power BI Tutorial For Beginners | Power BI Tutorial | Power BI Demo | Power B...
Power BI Tutorial For Beginners | Power BI Tutorial | Power BI Demo | Power B...Power BI Tutorial For Beginners | Power BI Tutorial | Power BI Demo | Power B...
Power BI Tutorial For Beginners | Power BI Tutorial | Power BI Demo | Power B...
Edureka!
 
Whats new in SharePoint Online
Whats new in SharePoint OnlineWhats new in SharePoint Online
Whats new in SharePoint Online
Jayanthi P
 
Microsoft Office 365 for Enterprise - Presented by Atidan
Microsoft Office 365 for Enterprise - Presented by AtidanMicrosoft Office 365 for Enterprise - Presented by Atidan
Microsoft Office 365 for Enterprise - Presented by AtidanDavid J Rosenthal
 
SharePoint Benefits
SharePoint BenefitsSharePoint Benefits
SharePoint Benefits
Sameh Senosi
 
Power BI Overview, Deployment and Governance
Power BI Overview, Deployment and GovernancePower BI Overview, Deployment and Governance
Power BI Overview, Deployment and Governance
James Serra
 
Sharepoint Basics
Sharepoint BasicsSharepoint Basics
Sharepoint Basics
Shervin Thomas
 
Automating Power BI Creations
Automating Power BI CreationsAutomating Power BI Creations
Automating Power BI Creations
Angel Abundez
 
Windows Virtual Desktop Powered By Microsoft Azure
Windows Virtual Desktop Powered By Microsoft AzureWindows Virtual Desktop Powered By Microsoft Azure
Windows Virtual Desktop Powered By Microsoft Azure
David J Rosenthal
 
Introduction to Power BI
Introduction to Power BIIntroduction to Power BI
Introduction to Power BI
Sagar Kewalramani
 
SharePoint Online vs. On-Premise
SharePoint Online vs. On-PremiseSharePoint Online vs. On-Premise
SharePoint Online vs. On-Premise
Evan Hodges
 
Microsoft power platform
Microsoft power platformMicrosoft power platform
Microsoft power platform
Michael Stephenson
 
Introducing Microsoft 365 for Business
Introducing Microsoft 365 for BusinessIntroducing Microsoft 365 for Business
Introducing Microsoft 365 for Business
David J Rosenthal
 
Intro Microsoft Dynamics 365
Intro Microsoft Dynamics 365Intro Microsoft Dynamics 365
Intro Microsoft Dynamics 365
Juan Fabian
 
Microsoft power bi
Microsoft power biMicrosoft power bi
Microsoft power bi
techpro360
 
What Is Power BI? | Introduction To Microsoft Power BI | Power BI Training | ...
What Is Power BI? | Introduction To Microsoft Power BI | Power BI Training | ...What Is Power BI? | Introduction To Microsoft Power BI | Power BI Training | ...
What Is Power BI? | Introduction To Microsoft Power BI | Power BI Training | ...
Edureka!
 

What's hot (20)

Sharepoint 2019 Training
Sharepoint 2019 TrainingSharepoint 2019 Training
Sharepoint 2019 Training
 
Introduction to SharePoint Framework (SPFx)
Introduction to SharePoint Framework (SPFx)Introduction to SharePoint Framework (SPFx)
Introduction to SharePoint Framework (SPFx)
 
Advantages of SharePoint Online
Advantages of SharePoint OnlineAdvantages of SharePoint Online
Advantages of SharePoint Online
 
SharePoint Tutorial and SharePoint Training - Introduction
SharePoint Tutorial and SharePoint Training - IntroductionSharePoint Tutorial and SharePoint Training - Introduction
SharePoint Tutorial and SharePoint Training - Introduction
 
Power BI Architecture
Power BI ArchitecturePower BI Architecture
Power BI Architecture
 
Power BI Tutorial For Beginners | Power BI Tutorial | Power BI Demo | Power B...
Power BI Tutorial For Beginners | Power BI Tutorial | Power BI Demo | Power B...Power BI Tutorial For Beginners | Power BI Tutorial | Power BI Demo | Power B...
Power BI Tutorial For Beginners | Power BI Tutorial | Power BI Demo | Power B...
 
Whats new in SharePoint Online
Whats new in SharePoint OnlineWhats new in SharePoint Online
Whats new in SharePoint Online
 
Microsoft Office 365 for Enterprise - Presented by Atidan
Microsoft Office 365 for Enterprise - Presented by AtidanMicrosoft Office 365 for Enterprise - Presented by Atidan
Microsoft Office 365 for Enterprise - Presented by Atidan
 
SharePoint Benefits
SharePoint BenefitsSharePoint Benefits
SharePoint Benefits
 
Power BI Overview, Deployment and Governance
Power BI Overview, Deployment and GovernancePower BI Overview, Deployment and Governance
Power BI Overview, Deployment and Governance
 
Sharepoint Basics
Sharepoint BasicsSharepoint Basics
Sharepoint Basics
 
Automating Power BI Creations
Automating Power BI CreationsAutomating Power BI Creations
Automating Power BI Creations
 
Windows Virtual Desktop Powered By Microsoft Azure
Windows Virtual Desktop Powered By Microsoft AzureWindows Virtual Desktop Powered By Microsoft Azure
Windows Virtual Desktop Powered By Microsoft Azure
 
Introduction to Power BI
Introduction to Power BIIntroduction to Power BI
Introduction to Power BI
 
SharePoint Online vs. On-Premise
SharePoint Online vs. On-PremiseSharePoint Online vs. On-Premise
SharePoint Online vs. On-Premise
 
Microsoft power platform
Microsoft power platformMicrosoft power platform
Microsoft power platform
 
Introducing Microsoft 365 for Business
Introducing Microsoft 365 for BusinessIntroducing Microsoft 365 for Business
Introducing Microsoft 365 for Business
 
Intro Microsoft Dynamics 365
Intro Microsoft Dynamics 365Intro Microsoft Dynamics 365
Intro Microsoft Dynamics 365
 
Microsoft power bi
Microsoft power biMicrosoft power bi
Microsoft power bi
 
What Is Power BI? | Introduction To Microsoft Power BI | Power BI Training | ...
What Is Power BI? | Introduction To Microsoft Power BI | Power BI Training | ...What Is Power BI? | Introduction To Microsoft Power BI | Power BI Training | ...
What Is Power BI? | Introduction To Microsoft Power BI | Power BI Training | ...
 

Similar to Building Responsive Intranet using Sharepoint Framework solutions - Asish Padhy - Sydney Meetup Jan 2018

SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...
SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...
SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...
Bill Ayers
 
D1 - Building Great Client-side Web Parts with SPFx, PnP-JS-Core, ReactJS and...
D1 - Building Great Client-side Web Parts with SPFx, PnP-JS-Core, ReactJS and...D1 - Building Great Client-side Web Parts with SPFx, PnP-JS-Core, ReactJS and...
D1 - Building Great Client-side Web Parts with SPFx, PnP-JS-Core, ReactJS and...
SPS Paris
 
SPUnite17 Building Great Client Side Web Parts with SPFx
SPUnite17 Building Great Client Side Web Parts with SPFxSPUnite17 Building Great Client Side Web Parts with SPFx
SPUnite17 Building Great Client Side Web Parts with SPFx
NCCOMMS
 
Cross Site Collection Navigation using SPFx, Powershell PnP & PnP-JS
Cross Site Collection Navigation using SPFx, Powershell PnP & PnP-JSCross Site Collection Navigation using SPFx, Powershell PnP & PnP-JS
Cross Site Collection Navigation using SPFx, Powershell PnP & PnP-JS
Thomas Daly
 
Cross Site Collection Navigation
Cross Site Collection NavigationCross Site Collection Navigation
Cross Site Collection Navigation
Thomas Daly
 
Office 365 Developer Bootcamp Melbourne
Office 365 Developer Bootcamp MelbourneOffice 365 Developer Bootcamp Melbourne
Office 365 Developer Bootcamp Melbourne
Anupam Ranku
 
Building modern intranets with share point communication sites aug 2018 kloud
Building modern intranets with share point communication sites aug 2018   kloudBuilding modern intranets with share point communication sites aug 2018   kloud
Building modern intranets with share point communication sites aug 2018 kloud
Asish Padhy
 
ECS19 - Vesa Juvonen - SharePoint and Office 365 Development PowerClass
ECS19 - Vesa Juvonen - SharePoint and Office 365 Development PowerClassECS19 - Vesa Juvonen - SharePoint and Office 365 Development PowerClass
ECS19 - Vesa Juvonen - SharePoint and Office 365 Development PowerClass
European Collaboration Summit
 
Broaden your dev skillset with SharePoint branding options
Broaden your dev skillset with SharePoint branding optionsBroaden your dev skillset with SharePoint branding options
Broaden your dev skillset with SharePoint branding options
Eric Overfield
 
SharePoint development 2017 wrap-up
SharePoint development   2017 wrap-upSharePoint development   2017 wrap-up
SharePoint development 2017 wrap-up
Joel Rodrigues
 
SharePoint as Development Platform for the Modern Intranet
SharePoint as Development Platform for the Modern IntranetSharePoint as Development Platform for the Modern Intranet
SharePoint as Development Platform for the Modern Intranet
Haaron Gonzalez
 
ECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - Roadmap
ECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - RoadmapECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - Roadmap
ECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - Roadmap
European Collaboration Summit
 
Building share point framework solutions
Building share point framework solutionsBuilding share point framework solutions
Building share point framework solutions
Dipti Chhatrapati
 
Real World SharePoint Framework and Azure Services
Real World SharePoint Framework and Azure ServicesReal World SharePoint Framework and Azure Services
Real World SharePoint Framework and Azure Services
Brian Culver
 
SharePoint Framework - Developer Preview
SharePoint Framework - Developer PreviewSharePoint Framework - Developer Preview
SharePoint Framework - Developer Preview
Sean McLellan
 
Matthias Einig from Rencore - Transforming SharePoint farm solutions to the A...
Matthias Einig from Rencore - Transforming SharePoint farm solutions to the A...Matthias Einig from Rencore - Transforming SharePoint farm solutions to the A...
Matthias Einig from Rencore - Transforming SharePoint farm solutions to the A...
Rencore
 
Transforming your full-trust solutions to the Add-in model / SharePoint Frame...
Transforming your full-trust solutions to the Add-in model / SharePoint Frame...Transforming your full-trust solutions to the Add-in model / SharePoint Frame...
Transforming your full-trust solutions to the Add-in model / SharePoint Frame...
SUGES (SharePoint Users Group España)
 
SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem.
SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem. SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem.
SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem.
Kushan Lahiru Perera
 
VJCD2017 SharePoint Framework (SPFx)
VJCD2017 SharePoint Framework (SPFx)VJCD2017 SharePoint Framework (SPFx)
VJCD2017 SharePoint Framework (SPFx)
Seiji Noro
 
Custom Development in SharePoint – What are my options now?
Custom Development in SharePoint – What are my options now?Custom Development in SharePoint – What are my options now?
Custom Development in SharePoint – What are my options now?
Talbott Crowell
 

Similar to Building Responsive Intranet using Sharepoint Framework solutions - Asish Padhy - Sydney Meetup Jan 2018 (20)

SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...
SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...
SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...
 
D1 - Building Great Client-side Web Parts with SPFx, PnP-JS-Core, ReactJS and...
D1 - Building Great Client-side Web Parts with SPFx, PnP-JS-Core, ReactJS and...D1 - Building Great Client-side Web Parts with SPFx, PnP-JS-Core, ReactJS and...
D1 - Building Great Client-side Web Parts with SPFx, PnP-JS-Core, ReactJS and...
 
SPUnite17 Building Great Client Side Web Parts with SPFx
SPUnite17 Building Great Client Side Web Parts with SPFxSPUnite17 Building Great Client Side Web Parts with SPFx
SPUnite17 Building Great Client Side Web Parts with SPFx
 
Cross Site Collection Navigation using SPFx, Powershell PnP & PnP-JS
Cross Site Collection Navigation using SPFx, Powershell PnP & PnP-JSCross Site Collection Navigation using SPFx, Powershell PnP & PnP-JS
Cross Site Collection Navigation using SPFx, Powershell PnP & PnP-JS
 
Cross Site Collection Navigation
Cross Site Collection NavigationCross Site Collection Navigation
Cross Site Collection Navigation
 
Office 365 Developer Bootcamp Melbourne
Office 365 Developer Bootcamp MelbourneOffice 365 Developer Bootcamp Melbourne
Office 365 Developer Bootcamp Melbourne
 
Building modern intranets with share point communication sites aug 2018 kloud
Building modern intranets with share point communication sites aug 2018   kloudBuilding modern intranets with share point communication sites aug 2018   kloud
Building modern intranets with share point communication sites aug 2018 kloud
 
ECS19 - Vesa Juvonen - SharePoint and Office 365 Development PowerClass
ECS19 - Vesa Juvonen - SharePoint and Office 365 Development PowerClassECS19 - Vesa Juvonen - SharePoint and Office 365 Development PowerClass
ECS19 - Vesa Juvonen - SharePoint and Office 365 Development PowerClass
 
Broaden your dev skillset with SharePoint branding options
Broaden your dev skillset with SharePoint branding optionsBroaden your dev skillset with SharePoint branding options
Broaden your dev skillset with SharePoint branding options
 
SharePoint development 2017 wrap-up
SharePoint development   2017 wrap-upSharePoint development   2017 wrap-up
SharePoint development 2017 wrap-up
 
SharePoint as Development Platform for the Modern Intranet
SharePoint as Development Platform for the Modern IntranetSharePoint as Development Platform for the Modern Intranet
SharePoint as Development Platform for the Modern Intranet
 
ECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - Roadmap
ECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - RoadmapECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - Roadmap
ECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - Roadmap
 
Building share point framework solutions
Building share point framework solutionsBuilding share point framework solutions
Building share point framework solutions
 
Real World SharePoint Framework and Azure Services
Real World SharePoint Framework and Azure ServicesReal World SharePoint Framework and Azure Services
Real World SharePoint Framework and Azure Services
 
SharePoint Framework - Developer Preview
SharePoint Framework - Developer PreviewSharePoint Framework - Developer Preview
SharePoint Framework - Developer Preview
 
Matthias Einig from Rencore - Transforming SharePoint farm solutions to the A...
Matthias Einig from Rencore - Transforming SharePoint farm solutions to the A...Matthias Einig from Rencore - Transforming SharePoint farm solutions to the A...
Matthias Einig from Rencore - Transforming SharePoint farm solutions to the A...
 
Transforming your full-trust solutions to the Add-in model / SharePoint Frame...
Transforming your full-trust solutions to the Add-in model / SharePoint Frame...Transforming your full-trust solutions to the Add-in model / SharePoint Frame...
Transforming your full-trust solutions to the Add-in model / SharePoint Frame...
 
SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem.
SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem. SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem.
SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem.
 
VJCD2017 SharePoint Framework (SPFx)
VJCD2017 SharePoint Framework (SPFx)VJCD2017 SharePoint Framework (SPFx)
VJCD2017 SharePoint Framework (SPFx)
 
Custom Development in SharePoint – What are my options now?
Custom Development in SharePoint – What are my options now?Custom Development in SharePoint – What are my options now?
Custom Development in SharePoint – What are my options now?
 

More from Asish Padhy

Building smarter secure and effective collaboration with power platform and a...
Building smarter secure and effective collaboration with power platform and a...Building smarter secure and effective collaboration with power platform and a...
Building smarter secure and effective collaboration with power platform and a...
Asish Padhy
 
The virtual assistant tour adelaide
The virtual assistant tour adelaideThe virtual assistant tour adelaide
The virtual assistant tour adelaide
Asish Padhy
 
Virtual assistanttour globalai_bootcamp_dec19
Virtual assistanttour globalai_bootcamp_dec19Virtual assistanttour globalai_bootcamp_dec19
Virtual assistanttour globalai_bootcamp_dec19
Asish Padhy
 
Microsoft teams a four course developer menu - M365 saturday Oct 19
Microsoft teams a four course developer menu - M365 saturday Oct 19Microsoft teams a four course developer menu - M365 saturday Oct 19
Microsoft teams a four course developer menu - M365 saturday Oct 19
Asish Padhy
 
Building modern intranets with share point communication sites aug 2018
Building modern intranets with share point communication sites aug 2018Building modern intranets with share point communication sites aug 2018
Building modern intranets with share point communication sites aug 2018
Asish Padhy
 
Site Provisioning with Modern SharePoint Sites and SIte Assets - O365 Saturda...
Site Provisioning with Modern SharePoint Sites and SIte Assets - O365 Saturda...Site Provisioning with Modern SharePoint Sites and SIte Assets - O365 Saturda...
Site Provisioning with Modern SharePoint Sites and SIte Assets - O365 Saturda...
Asish Padhy
 
Build Modern Intranet sites with SharePoint Communication sites - Asish Padhy...
Build Modern Intranet sites with SharePoint Communication sites - Asish Padhy...Build Modern Intranet sites with SharePoint Communication sites - Asish Padhy...
Build Modern Intranet sites with SharePoint Communication sites - Asish Padhy...
Asish Padhy
 

More from Asish Padhy (7)

Building smarter secure and effective collaboration with power platform and a...
Building smarter secure and effective collaboration with power platform and a...Building smarter secure and effective collaboration with power platform and a...
Building smarter secure and effective collaboration with power platform and a...
 
The virtual assistant tour adelaide
The virtual assistant tour adelaideThe virtual assistant tour adelaide
The virtual assistant tour adelaide
 
Virtual assistanttour globalai_bootcamp_dec19
Virtual assistanttour globalai_bootcamp_dec19Virtual assistanttour globalai_bootcamp_dec19
Virtual assistanttour globalai_bootcamp_dec19
 
Microsoft teams a four course developer menu - M365 saturday Oct 19
Microsoft teams a four course developer menu - M365 saturday Oct 19Microsoft teams a four course developer menu - M365 saturday Oct 19
Microsoft teams a four course developer menu - M365 saturday Oct 19
 
Building modern intranets with share point communication sites aug 2018
Building modern intranets with share point communication sites aug 2018Building modern intranets with share point communication sites aug 2018
Building modern intranets with share point communication sites aug 2018
 
Site Provisioning with Modern SharePoint Sites and SIte Assets - O365 Saturda...
Site Provisioning with Modern SharePoint Sites and SIte Assets - O365 Saturda...Site Provisioning with Modern SharePoint Sites and SIte Assets - O365 Saturda...
Site Provisioning with Modern SharePoint Sites and SIte Assets - O365 Saturda...
 
Build Modern Intranet sites with SharePoint Communication sites - Asish Padhy...
Build Modern Intranet sites with SharePoint Communication sites - Asish Padhy...Build Modern Intranet sites with SharePoint Communication sites - Asish Padhy...
Build Modern Intranet sites with SharePoint Communication sites - Asish Padhy...
 

Recently uploaded

De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 

Recently uploaded (20)

De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 

Building Responsive Intranet using Sharepoint Framework solutions - Asish Padhy - Sydney Meetup Jan 2018

  • 1. Building Responsive Intranet Solutions in SharePoint Modern Experience Sites using SharePoint Framework with React Asish Padhy
  • 2. About me - SharePoint, Office 365 and Azure Solutions Consultant at Kloud Solutions - 12 years of experience working on SharePoint and MS Technologies - I am a Consultant, Architect, Project Lead and always a Developer. - Microsoft Certified Professional in SharePoint https://www.linkedin.com/in/asishpadhy https://asishpadhy.com https://blog.kloud.com.au/author/asishpadhykloud/ @asishpadhy
  • 4. Modern Experience Features • Inbuilt Responsive and Mobile design support • Support for client end frameworks for development • Contain native news, quick links, and activity capabilities through pre-built web parts • ModernTeam Sites support Groups features • Tenant wide fast deployment support
  • 5. Modern Experience Customization Challenges • MS list of limitations - https://docs.microsoft.com/en-us/sharepoint/dev/solution- guidance/modern-experience-customizations-customize-sites • No custom master page support • No direct access to master page elements. Indirectly through Javascript or JQuery scripting. JQuery can be used to locate static div • Hard to use CSS extensibility when trying to use children. Use ‘aria-label’ property if want to • No availability to create in place navigation menu items for current navigation or left hand navigation.Cannot realign navigation or header items • No support for SharePoint hosted apps and Provider hosted apps • React routing makes it hard to put a handler for events
  • 6. Intranet Possibilities ? • Communication Sites • For full content layout ( the home layout in team sites doesn’t give full content layout • Easy to use user managed multi level navigation (it is quick launch of classic sites, so will not inherit navigation to children) • Current update of News posts - Link • Gives the most closest experience to Intranet • Cannot update publishing feature (Dec 2017) • ModernTeam Sites • Group Options – Conversations, email alias, outlook integration • Managing members is different than Classic Sites • Can enable publishing feature • Completely different lifecycle
  • 7. Intranet Possibilities? • ClassicTeam Sites with Modern Pages • Hybrid solution • Keep content in classic team sites to take advantages of functionalities • Get more control in customizing master • Create Modern pages and use modern list view, programmatically even • JS Scripting and JS Link supported
  • 8. So what are our options with Modern ? • SPFx - Client Side web parts hosted and deployed through CDN • SPFx - Extension components on Header, Footer and List Menus (Not navigation bar) • Section and layout choices (cannot have custom grid layout options) • Apply SharePoint themes (new) • Apply Site Designs and Site Scripts (new) – Link • SharePoint Field Formatting (Column formatter or SPFx Field formatter) • PowerApps and Flow Integration options directly from list views • Upcoming latest OOB SharePoint client side web parts
  • 9. SharePoint Framework (SPFx) ? • The SharePoint Framework (SPFx) is a page and web part model that provides full support for client-side development and open source tooling. • SPFx allows to create Client side web parts and extensions which can be integrated with Modern experience pages • SPFx integrates with React, Office Fabric UI and many other third party JavaScript and CSS Libraries (a welcome change) • Support Local development and not required connection to SharePoint
  • 10. Mapping of Old approaches to the NewTooling SP Components Old Approach (On-Prem and Classic) New Approach (Modern Experience) Web Parts FullTrust Solution or Sandbox SPFx Client side web parts Apps SharePoint Hosted or Provider Hosted SPFxWPs with REST Calls or Functions Master Page Branding Custom Branding Solutions SharePoint themes Content on Pages CEWPs or Script Editor Client side web parts or Content Only Field Customization JS Link Column Formatter or SPFx field formatter List Menu Custom User Actions SPFx ListView Extension Navigation Custom Branding solution SPFx ApplicationCustomizer Extension Site Pages Page Layouts andTemplates SharePoint Online CSOM options Programming Options Server (C#,VB.Net) and Client Side Client Side Frameworks such as React, Knockout and Angular etc.
  • 11. SharePoint Framework SDLC • Devs – JavaScript ,TypeScript, (not much JQuery) and SASS (SCSS) • Set up SharePoint Framework components on Local computer • Set up a debug configuration inVS Code – Install Debugger for Chrome • Deploy,Test and fix locally on SharePoint • Deploy assets to a CDN (Office 365 Public or Azure CDN) • Enable CORS with Container • Deploy package to SharePointApps Catalog • Choose betweenTenant wide and Site deployment
  • 12. SPFx with React and Office Fabric/Bootstrap • Component based • Controlled and managed via States • HTML in object encapsulated • It will automatically update and render the component when data changes. • Responsive controls through Office Fabric and Bootstrap • Office Fabric React is already included as part of SPFx solution • Bootstrap needs to be explicitly included from NPM
  • 13. ImportantTips • Know about the component lifecycle events in React components to prevent erroneous looping such as ComponentDidUpdate() and shouldComponentUpdate() https://reactjs.org/docs/react-component.html • Don’t update the state variables directly, use setState method for state updates • Don’t update the npm packages to their latest versions such as Jquery (~3.2) and office-fabric-ui-react. There are conflicts with latest versions • If using PnP JS modules, remember to use await or then clauses, in order to get the results before chaining the operations
  • 14. Important tips • Await can only be called in Async methods. • Not everything in CSOM or Object model is directly available in PnP JS or SharePoint REST • Typescript strict rules such as object level binding and mapping • Not all versions of JQuery are supported, so might have to install particular types - npm install @types/jquery@2.0.48 --save-dev
  • 15. Demo
  • 17. Quick Links • PnP Pattern and Practices - https://dev.office.com/patterns-and-practices • Build Documentation - https://docs.microsoft.com/en-us/sharepoint/dev/ • SharePoint Framework - https://docs.microsoft.com/en- us/sharepoint/dev/spfx/sharepoint-framework-overview • Office Fabric - https://developer.microsoft.com/en-us/fabric • Github (Client Web parts) - https://github.com/SharePoint/sp-dev-fx-webparts/ • Github (Extensions) - https://github.com/SharePoint/sp-dev-fx-extensions