London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Jacob Pretorius
Apr 29, 2025
  240
(3 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
Meet the Newest OMVPs – Winter 2025 Cohort

We're excited to officially welcome the latest winter cohort of Optimizely Most Valuable Professionals (OMVPs) - a group of passionate tech...

Satata Satez | May 14, 2025

Helper method to encode query string properly

When using Url.ContentUrl() in Optimizely 12, encodes spaces as + in the query string. If you want to encode the spaces as %20, use the below helpe...

sunylcumar | May 13, 2025

Get ContentReference from GUID

Optimizely CMS 12 provides a Utility function to retrieve Content Reference from a Guid by ussing the below static method. var contentReference =...

sunylcumar | May 13, 2025

Creating a Dropdownlist in Optimizely CMS: Populate ISelectionFactory with values from another block's properties

Create a Block to hold selection options using EPiServer.Cms.Shell.UI.ObjectEditing.EditorDescriptors; using EPiServer.PlugIn; using EPiServer.Shel...

sunylcumar | May 12, 2025

Opal AI available in Optimizely CMS (SaaS)

Use Opal AI to translate your content!

Tomas Hensrud Gulla | May 12, 2025 |

Get Up to Speed with Optimizely Opal: Quick Start Resources

Exciting New Feature Updates to Optimizely Opal: Elevating Your Product Experience We're thrilled to announce the launch of massive feature updates...

Patrick Lam | May 9, 2025