Introduction In this blog post, I will walk you through a step by step process to create a very basic home page on a Optimizley CMS Empty site. This is part of the “Learning by Doing: Build series” where we build a fictional website from scratch to focus on hands on learning and gain practical insights. If you prefer a video, please check out Optimizely CMS - Learning by Doing : EP02 . Step 1: Create Empty Website Create a project using Optimizley CMS Empty Template Build and Run Set up administrator account You will be redirected to home page but since the home page is not yet set up, 404 error is displayed Verify if you are able to login to admin / CMS interface by navigating to localhost:5000/EPiServer/CMS Step 2: Create Models • Create Base Page Type (SitePageData.cs) • Base class for all the pages to inherit common properties like SEO • ...
If you have ever wondered how basic information (like GUID) from the ContentType created using Optimizely Admin view and the properties from the code come together seamlessly to provide the content type. Let us unbox and find out the process of prefect harmony What is Synchronization? As soon as the Optimizely website starts, it scans all the assemblies and looks for classes decorated with [ContentType] and properties [Display] or [Property]. Once the scan is complete, it compares these with the content types defined in the database and synchronizes based on one of the seven use cases as mentioned below. Key 7 Use cases : # Use Case Pre-Condition Sync Process 1 New Content Type A new Class with [ContentType] is added to the code · Creates content type in DB · Properties are added to DB 2 ...