I write tech things. Mostly stuff involving CMS, dotnet, API’s, containers and IOT
Content Graph - Letting GraphQL do all the hard work for you
Background As we have seen before, setting up Content Graph on the CMS side is pretty easy. However, when it comes to the “head” part of the setup, things can get a bit tricky at times. There’s a lot of ways to achieve the same results on the frontend side of things. Note: I’m using next.js and yarn for my frontend setup. Also I’m assuming that you have a content-graph endpoint that you can query without which none of the following would be possible...
DXP and Github Workflows
Prerequisistes Access to a DXP Environment Access to Github Basic Understanding of CI/CD pipelines and YAML An existing CMS12 website connected to DXP Generate API Keys I’ve generated a seperate API Key for usage from Github which only has access to my integration environment because I want to deploy to production by hand and avoid “accidental” releases to production. You could however choose to let github deloy the site to the production environment if you like....
Adding A/B Testing to CMS12
I recently saw that Optimizely released A/B Testing Package (EPiServer.Marketing.Testing) for dotnet core, meaning you can now install the A/B Testing Addon on CMS12 Install For .NET 5 use dotnet add package EPiServer.Marketing.Testing -v 3.0.0 For .NET 6 use dotnet add package EPiServer.Marketing.Testing -v 3.1.0 Configure But if you try running the site after the install, you might notice an error similar to this: info: EPiServer.Framework.Initialization.InitializationEngine[0] Initialization started fail: EPiServer.Framework.Initialization.InitializationEngine[0] Initialize action failed for 'Initialize on class EPiServer....
Customizing VisitorGroup Behavior in Optimizely CMS
VisitorGroups One way you can personalize a digital experience in Optimizely is to create a visitor group with criteria for that group. For example, you can design a product banner specifically for first-time visitors, or for visitors from a geographic region or market. If you have multiple visitor groups, a visitor may match more than one visitor group. You then can use personalization groups to group content to avoid displaying the same content twice, and display fallback content to visitors who match no visitor groups....