Optimizely shortcuts in CMS 12 will get a trailing slash appended!

by Tomas Hensrud Gulla

In Optimizely CMS you can manage an optional shortcut for all pages. There are different types of shortcut. No shortcut (default)Shortcut to another content itemShortcut to page on another websiteNo shortcut, display text onlyFetch content from another content itemOne use case for the type «Shortcut to page on another…

Erstatning for rapportsenteret i Optimizely CMS 12

by Tomas Hensrud Gulla

I Optimizely (tidligere Episerver) CMS til og med versjon 11 hadde vi tilgang til et rapportsenter med følgende innebyggede rapporter. Disse rapportene var bygget på, den nå utdaterte, teknologien Web Forms og ble fjernet da Optimizely CMS ble lansert på ny og moderne plattform; .NET 6. Selv synes jeg flere…

404 on all subpages after upgrading Optimizely CMS to 11 latest?

by Henning Sjørbotten

Getting a lot of 404 errors after upgrading your Optimizely CMS solution past version 11.20.11? It might be fixed within seconds!…

If you want to upgrade – do not upgrade upgrade-assistant!

by Tomas Hensrud Gulla

Today was the day. I was finally ready for upgrading to Optimizely CMS 12! I have read every blog post and watched every YouTube video! My personal blog and some add-ons were upgraded months ago without too much hassle. I attended (and even spoke at) the local Optimizely Tech Forum…

How to make your custom form elements work after upgrading Optimizely.Forms

by Henning Sjørbotten

Updating Optimizely Forms is not always problem free.This is not something that most solutions have a problem with, but for some projects the custom elements you have written for Optimizely.Forms will stop showing in your views. The reason for this is not always a bug in Optimizely.Forms,…

Creating a customized view of Contentful checkbox

by Kenneth Sætereng

My goal with this app was just to be able too show a normal checkbox instead of two radio buttons for the Boolean fields in Contentful, after one of my colleagues reached out to customer support with the response: - Thanks for reaching out to support. Currently the field appearance…

Using NDepend to uncover code smells

by Karl Solgård

Code quality should be a high priority for a coder. NDepend is a tool that helps coders to sniff out the smells in their code. After a friendly chat with the NDepend's author, Patrick Smacchia, I got started using the tool on my projects. Installation on LinuxThe functionality of NDepend…

Building dynamic URL structures with Contentful and Nextjs

by Magnus Sigvartsen

Set up a parent/child URL structure using Contentful, and resolve the URL and build up the static paths in Nextjs.…

Output cache in Optimizely CMS 12 that vary by visitor group

by Tomas Hensrud Gulla

After I wrote a blog post about Quick and dirty output cache in Optimizely CMS12, someone reminded me that this would not work well with visitor groups. All visitors would get the same cached content, even if they belonged to different visitor groups. I was not using visitor groups and…

How to make the XhtmlString <p> tag go away

by Henning Sjørbotten

Optimizely CMS is still using TinyMCE for the rich text (XhtmlString) fields. By default, everything you write in these fields is being wrapped in <p></p> tags. These extra tags can be a pain, as they do not always fit with the document structure. You do…