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

Jacob Pretorius
Apr 29, 2025
  1753
(6 votes)

Notes on Optimizely Self-Optimizing Block

While the free A/B Testing might be dead, the Self-Optimizing Block is still alive and kicking. Here's some notes for those debugging it.

 

Installation

You can install the self-optimising block with the non-obvious package name `EPiServer.Cms.AddOns.Blocks` from https://nuget.optimizely.com/package/?id=EPiServer.Cms.AddOns.Blocks 

Ensure you have `app.UseSessions()` in your `Startup.cs` (thanks Arjan!)

You will then be able to create instances of "Self Optimizing Block" using the CMS.

 

Missing renderer

If for some reason you have a block called "OptimizingBlock" in your CMS it likely means the "Self Optimizing Block" package is no longer installed. You can verify this by going to the CMS admin > Content Types and searching for it to see if it is From code: No

If you install the package it should spring back to action and restore itself as "Self Optimizing Block".

 

Apr 29, 2025

Comments

Please login to comment.
Latest blogs
A day in the life of an Optimizely OMVP - OptiGraphExtensions v2.0: Enhanced Search Control with Language Support, Synonym Slots, and Stop Words

Supercharge your Optimizely Graph search experience with powerful new features for multilingual sites and fine-grained search tuning. As search...

Graham Carr | Dec 16, 2025

A day in the life of an Optimizely OMVP - Optimizely Opal: Specialized Agents, Workflows, and Tools Explained

The AI landscape in digital experience platforms has shifted dramatically. At Opticon 2025, Optimizely unveiled the next evolution of Optimizely Op...

Graham Carr | Dec 16, 2025

Optimizely CMS - Learning by Doing: EP09 - Create Hero, Breadcrumb's and Integrate SEO : Demo

  Episode 9  is Live!! The latest installment of my  Learning by Doing: Build Series  on  Optimizely Episode 9 CMS 12  is now available on YouTube!...

Ratish | Dec 15, 2025 |

Building simple Opal tools for product search and content creation

Optimizely Opal tools make it easy for AI agents to call your APIs – in this post we’ll build a small ASP.NET host that exposes two of them: one fo...

Pär Wissmark | Dec 13, 2025 |