A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Anders Hattestad
Oct 16, 2008
  7293
(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

Comments

Please login to comment.
Latest blogs
A day in the life of an Optimizely OMVP: Learning Optimizely Just Got Easier: Introducing the Optimizely Learning Centre

On the back of my last post about the Opti Graph Learning Centre, I am now happy to announce a revamped interactive learning platform that makes...

Graham Carr | Jan 31, 2026

Scheduled job for deleting content types and all related content

In my previous blog post which was about getting an overview of your sites content https://world.optimizely.com/blogs/Per-Nergard/Dates/2026/1/sche...

Per Nergård (MVP) | Jan 30, 2026

Working With Applications in Optimizely CMS 13

💡 Note:  The following content has been written based on Optimizely CMS 13 Preview 2 and may not accurately reflect the final release version. As...

Mark Stott | Jan 30, 2026

Experimentation at Speed Using Optimizely Opal and Web Experimentation

If you are working in experimentation, you will know that speed matters. The quicker you can go from idea to implementation, the faster you can...

Minesh Shah (Netcel) | Jan 30, 2026