This module adds visualisation of how Optimizely content types and audiences are used across sites.
Make sure you have the Optimizely Nuget feed configured.
Add the package to your solution
install-package N1990.Episerver.Cms.Audit
or
dotnet add package N1990.Episerver.Cms.Audit
Configure services and routing during startup (without this, you will not see module under Add-ons in the UI)
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
//...
services.AddAuditServices();
//...
}
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
//...
app.UseEndpoints(endpoints =>
{
// other endpoint configuration
endpoints.MapControllerRoute(
name: "default",
pattern: "{controller=Home}/{action=Index}/{id?}");
});
//...
}
}
You will need to be a member of one of these roles to get access to the module:
- AuditAdmins
- CmsAdmins
This repository also have a Sandbox project, based on the Alloy demo site. You should be able to run it directly in your development environment.
In order to log in, you need to create an admin user. Go to: https://localhost:5000/util/register to create your admin user.