Skipping content validation for a single import in Optimizely 11
Add an opt-in checkbox to the Optimizely 11 import page for older content, while retaining selected permission, lock and approval checks.
Add an opt-in checkbox to the Optimizely 11 import page for older content, while retaining selected permission, lock and approval checks.
This is a follow up to the previous Clearing output cache in a multi server environment article. Before adding code to clear more caches, it may be useful to check whether the page is actually being rendered. Here…
I ran into this exception while looking at a custom media handler in an Optimizely CMS 11 website. The stack trace pointed at Optimizely trying to append an ETag header, but the interesting part turned out to be…
I’m back in the Optimizely sphere after working on vanilla .NET applications for a while, and ran into a weird 301 permanent redirect happening when calling an API endpoint in an Optimizely 11 website. A call to the…
Here is an improved version of the Exception enrichment functionality described in the article Enriching your exceptions with information from Episerver. Updates has been made in order to make it more robust in regards to usage of abstract…
Here is a validation attribute that I wrote in order to limit the number of items that editors may put in Optimizely ContentAreas to a specific set of numbers, instead of having max and min values. The part…
At my current client we have the need to hide or show properties for editors in Optimizely edit mode, on the same page type, depending on where/how the page type is used. Our structure consists of global pages,…
I was faced with a somewhat unexpected MissingMethodException changing a property type from string to XhtmlString while making changes to an Optimizely website for my current client. I’ve done this sort of change on mant occations, and moving…
I ran in to this problem setting up an older Optimizely website running on .Net Framework. The view mode of the website worked just fine, however, when trying to access the edit mode via /episerver/cms, the following exception…
Injecting fragments in Optimizely XHtmlStrings is quite easy using a custom display template to render the property. Here is an example on how you can inject custom data based on Optimizely blocks dropped in the XHtmlString property. I’ve…
This is a follow up to the previous Acting on Optimizely Remote Events article. While still working with the older Optimizely 11 you may rely on the Remote Event functionality to clear cache. However, in some cases you…
At my current client we had the need to prevent the use of certain visitor groups in some of the content areas. I.e. some areas were only to support national content, and other areas only regional content (where…
Got this SqlException again moving a database from a client’s production environment into development. Thought I’d write a short note on resolving it. Check the migration history table: It is likely that the initial create of the tables…
Just a short piece on how to act on Optimizely‘s remote events. While in later versions you may use for instance RabbitMQ or ActiveMQ, still being on 11 will have you using the older event distribution. For attaching…
Whilst setting up Optimizely 12 to work with RabbitMQ is rather straight forward, making it use ActiveMQ for transport instead requires a bit more configuration on our part. Here is a short article on how to set up…
I’ve updated the ActiveMQ tester application with topic support as it is required by the Optimizely on-prem event provider (EPiServer.Events.MassTransit). Otherwise, the usage is as before (see ActiveMQ connection tester application). Source code at GitHub.
While moving our client’s Optimizely 12 website to a new hosting provider we had to abandon our RabbitMQ installation in favour of a new ActiveMQ one, also supported by the on-prem event provider (EPiServer.Events.MassTransit). To make it easier…
My current client is moving their Optimizely 11 websites to a new hosting provider and we need an easy way to test the remote event replication system. I remember that there was an old console application for this…
We set up Optimizely‘s new on-prem event provider (EPiServer.Events.MassTransit) for my current client’s Optimizely 12 website the other week. At current date it is still in beta until there are enough uses for there to be a production…