smithsson68@gmail.com
Dec 22, 2009
visibility 8088
star star star star star
(0 votes)

Page Objects in EPiServer CMS 6

Another new exciting feature in CMS 6 (RC onwards) is the joining of forces between CMS pages (PageData) and objects that can be stored in the Dynamic Data Store, a.k.a. Page Objects.

Of course this can be handled manually by the programmer by storing an object in the DDS and then keeping track of it somehow as Alan demonstrates here.

However, since Alan wrote that blog article we have developed Page Objects so you don’t have to worry about the connection between the page and the DDS object.

Page Objects behave like CMS Page Properties when in comes to versioning and language support. That means that each version of a page gets its own copy of Page Objects. However, under the covers it is quite smart and will only point to its own copy when the version of the object differs from the original, which means better performance.

Another advantage of using Page Objects instead of rolling your own page – DDS hookup is that you get free Import/Export and Mirroring support for the objects.

The new PageObjects property (.NET property) can be found on the PageData class. It behaves like a .NET dictionary so you add and access your objects with the use of a key.

Happy coding and remember, use Page Objects and the DDS responsibly! Reading a massive object graph every time a page in CMS renders will not give you the happiest of experiences (even with caching).

Dec 22, 2009

Comments

error Please login to comment.
Latest blogs
You’re not headless. You’re hybrid — and that’s the CMS 12 default.

For CMS 12 / Commerce teams with a React (or similar) storefront who keep hearing “just go headless” or “just move to Graph.” This is Part 1 of Fin...

Hanskumar Tripathi | Aug 13, 2026

Stott Security for Optimizely SaaS CMS

Introduction Stott Security  has been helping developers and editors manage Content Security Policies and security headers on  Optimizely PaaS CMS...

Mark Stott | Aug 13, 2026

Optimizely XML Resource Builder: A Visual Studio Extension for Language Resource Files

Anyone who has worked on a larger Optimizely solution will know the feeling. You add or update a page type, block type, or shared base class,

Adnan Zameer | Aug 13, 2026 |

Optimizely SaaS CMS Management API: The Write Side of Headless

Everything I’ve written in this series so far has been about reading content — Optimizely Graph, webhooks, ISR, caching layers. But at some point y...

Kiran Patil | Aug 12, 2026 |

Assistants, Instructions and Statistics

We are introducing three new features for AI Assistant in Optimizely CMS. They make it easier to reuse AI expertise, work faster and understand how...

Luc Gosso (MVP) | Aug 11, 2026 |

Optimizely Commerce 14 Now Supports .NET 10

In my previous post, Optimizely CMS 12 Now Fully Supports .NET 10 , I noted one remaining limitation: Commerce 14 (Commerce Connect) did not yet...

Bien Nguyen | Aug 7, 2026