Don't miss out Virtual Happy Hour today (April 26).

Try our conversational search powered by Generative AI!

Anders Hattestad
Oct 16, 2008
  8354
(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
Azure AI Language – Extractive Summarisation in Optimizely CMS

In this article, I demonstrate how extractive summarisation, provided by the Azure AI Language platform, can be leveraged to produce a set of summa...

Anil Patel | Apr 26, 2024 | Syndicated blog

Optimizely Unit Testing Using CmsContentScaffolding Package

Introduction Unit tests shouldn't be created just for business logic, but also for the content and rules defined for content creation (available...

MilosR | Apr 26, 2024

Solving the mystery of high memory usage

Sometimes, my work is easy, the problem could be resolved with one look (when I’m lucky enough to look at where it needs to be looked, just like th...

Quan Mai | Apr 22, 2024 | Syndicated blog

Search & Navigation reporting improvements

From version 16.1.0 there are some updates on the statistics pages: Add pagination to search phrase list Allows choosing a custom date range to get...

Phong | Apr 22, 2024