Stefan Forsberg
Apr 25, 2009
  5547
(0 votes)

Page Provider – Part one

A task that that keeps appearing more and more is the case of integrating information from some other data source into EpiServer. One way to solve this is to mirror the content and create corresponding Epi-pages programmatically but this clearly violates the DRY principle. Another approach is to write custom logic for the furl handling to be able to present your data that way. This is quite a nice solution in some cases but it’s for example hard to use built in episerver controls like the page list in this scenario. Ted made an excellent blog post about this here.

Another solution that’s available in CMS R2 (running on an enterprise license) is to create a page provider. Page Providers gives you a way of letting EpiServer treat your custom data as though they were normal episerver pages. During the course of the next few posts I'll create a page provider that's used to present a product catalogue.

 

The database

The company we're creating the site for already has a database with all their product data so that should be the base of all the product information.

db

Luckily enough for us the company has both an integer based ID as well as an Guid for each of the categories which will make creating the page provider a bit easier. You might suspect that I designed the database this way for this example because I’m slightly lazy… and that’s a 100% correct assumption. Why this makes our lives easier will be explained in a later post.

Apr 25, 2009

Comments

Sep 21, 2010 10:32 AM

Looking forward to your upcoming posts!

Please login to comment.
Latest blogs
Opti ID overview

Opti ID allows you to log in once and switch between Optimizely products using Okta, Entra ID, or a local account. You can also manage all your use...

K Khan | Jul 26, 2024

Getting Started with Optimizely SaaS using Next.js Starter App - Extend a component - Part 3

This is the final part of our Optimizely SaaS CMS proof-of-concept (POC) blog series. In this post, we'll dive into extending a component within th...

Raghavendra Murthy | Jul 23, 2024 | Syndicated blog

Optimizely Graph – Faceting with Geta Categories

Overview As Optimizely Graph (and Content Cloud SaaS) makes its global debut, it is known that there are going to be some bugs and quirks. One of t...

Eric Markson | Jul 22, 2024 | Syndicated blog

Integration Bynder (DAM) with Optimizely

Bynder is a comprehensive digital asset management (DAM) platform that enables businesses to efficiently manage, store, organize, and share their...

Sanjay Kumar | Jul 22, 2024