Anders Hattestad
Oct 16, 2008
(0 votes)

Page Providers and Categories

Page Providers open up a lot of possibilities. I tried to get the Categories to act as part of the page system. Was pretty straight forward up to the point where I tried to move a category from on branch to another.

Started to dig a little with Reflector and ended up in the stored PROCEDURE netCategorySave. That procedure doesn’t save the parent ID. So it’s not possible with the API to move between branches. So I had to do it the dirty way and update the database with some sql :(

Well ended up with a PageProvider that can Create, Edit, Move, Delete


And the code ofc, only one file

Only one file

Oct 16, 2008


Please login to comment.
Latest blogs
Plug-in manager is back in CMS 12

Plug-in manager is back in the UI, what is it and how can i use it?

Luc Gosso (MVP) | Oct 6, 2022 | Syndicated blog

Display Child Pages in Content Delivery API Response

The below example will implement an instance of IContentConverterProvider to customise the serialisation of PageData and output child pages in the...

Minesh Shah (Netcel) | Oct 4, 2022

Bring the Report Center back in Optimizely CMS 12

The Report Center has been a part of Optimizely CMS since its first debut in version 5R2 in 2008, but in CMS 12, it's removed! Don't despair! Make...

Tomas Hensrud Gulla | Oct 4, 2022 | Syndicated blog

Customizing Property Lists in Optimizely CMS

Generic property lists is a cool editorial feature that has gained a lot of popularity - in spite of still being unsupported (officially). But if y...

Allan Thraen | Oct 2, 2022 | Syndicated blog