content channel and page providers magnus stråle and paul smith, episerver ab
TRANSCRIPT
![Page 1: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB](https://reader036.vdocuments.us/reader036/viewer/2022071807/56649e735503460f94b726d6/html5/thumbnails/1.jpg)
Content Channel and Page Providers
Magnus Stråle and Paul Smith, EPiServer AB
![Page 2: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB](https://reader036.vdocuments.us/reader036/viewer/2022071807/56649e735503460f94b726d6/html5/thumbnails/2.jpg)
Agenda
» Background
» SharePoint Connector
» Content Channel
» Page Providers
» Summary
![Page 3: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB](https://reader036.vdocuments.us/reader036/viewer/2022071807/56649e735503460f94b726d6/html5/thumbnails/3.jpg)
Background
» Content Channel
- Developed as part of SharePoint Connector
- A traditional Web service
- Import pages and files
- Allow one-way updating
- Requires configuration
- Delivered in EPiServer CMS 5 SP1
![Page 4: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB](https://reader036.vdocuments.us/reader036/viewer/2022071807/56649e735503460f94b726d6/html5/thumbnails/4.jpg)
Background
» Page Providers
- Full-featured integration
- Data resides in original store
- Pages only
- LocalPageProvider & RemotePageProvider
- Requires coding and configuration
- A true provider implementation
- Sample code - XMLPageProvider
![Page 5: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB](https://reader036.vdocuments.us/reader036/viewer/2022071807/56649e735503460f94b726d6/html5/thumbnails/5.jpg)
SharePoint Connector
» Targets Windows SharePoint Services (WSS)
» Import data from SharePoint
» One-way communication initiated from SharePoint
» Handle updated information
» No support for access rights
» GUI for configuration
![Page 6: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB](https://reader036.vdocuments.us/reader036/viewer/2022071807/56649e735503460f94b726d6/html5/thumbnails/6.jpg)
Content Channel Client
» Content Channel designed for custom use
» ”Roll your own” client
» Import Web Service in Visual Studio...and add code
![Page 7: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB](https://reader036.vdocuments.us/reader036/viewer/2022071807/56649e735503460f94b726d6/html5/thumbnails/7.jpg)
Demo
» Custom Content Channel Client
![Page 8: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB](https://reader036.vdocuments.us/reader036/viewer/2022071807/56649e735503460f94b726d6/html5/thumbnails/8.jpg)
Page Providers Background
» Originated as a technology experiment
» You may have heard of Custom Page Store...which has been renamed to Page Providers
![Page 9: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB](https://reader036.vdocuments.us/reader036/viewer/2022071807/56649e735503460f94b726d6/html5/thumbnails/9.jpg)
PageProviderBase
Local PPCustom
PP
Remote PP
DataFactory
Page Providers
Remote EPiServer
EPiServer Database
![Page 10: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB](https://reader036.vdocuments.us/reader036/viewer/2022071807/56649e735503460f94b726d6/html5/thumbnails/10.jpg)
Page Providers Implementation
» Information maps to/from PageData objects
» Information always presented as a local page type
» Supports all EPiServer CMS features
- Versioning, Multi-language, Access rights, Editing and more
» Configuration to support a subset of features
» Permanent Link mapping support is required
» Move between Page Providers
» GUI changes
![Page 11: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB](https://reader036.vdocuments.us/reader036/viewer/2022071807/56649e735503460f94b726d6/html5/thumbnails/11.jpg)
Demo
» Page Provider Capabilities
» XML Page Provider
![Page 12: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB](https://reader036.vdocuments.us/reader036/viewer/2022071807/56649e735503460f94b726d6/html5/thumbnails/12.jpg)
Remote Page Provider
» Old ”Remote site” concept replaced by Remote Page Provider
» Remote PP communicates with a Remote Page Provider Service
» Service implemented with WCF
» Optimized data transfer
- No page type overhead
- Use TCP/IP transport for maximum perf
- Use HTTP transport to cross firewalls
» Flexible security model
![Page 13: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB](https://reader036.vdocuments.us/reader036/viewer/2022071807/56649e735503460f94b726d6/html5/thumbnails/13.jpg)
IMPORTANT!
» Page Providers use the RemoteSite property of PageReference
» Always use complete PageReference objects as parameters
» DO NOT simply pass the page ID
» When serializing use PageReference.ToString()
» When deserializing use PageReference.Parse() or PageReference.TryParse()
![Page 14: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB](https://reader036.vdocuments.us/reader036/viewer/2022071807/56649e735503460f94b726d6/html5/thumbnails/14.jpg)
Summary
Content Channel Page Providers
Import data to EPiServer CMS db Data in original store
Pages and files Pages only
Web service Any type of communication
Modify data on import Any kind of manipulation
Available today Ships with EPiServer CMS 5 R2
![Page 15: Content Channel and Page Providers Magnus Stråle and Paul Smith, EPiServer AB](https://reader036.vdocuments.us/reader036/viewer/2022071807/56649e735503460f94b726d6/html5/thumbnails/15.jpg)
Questions?