📚 Product Knowledge
Change Log
📖 Docs

Change Log - Optimizely CMS 12

Exam Area: Area 1 – Product Knowledge (15%)


1. Change Log in Admin

Access: /episerver/cms/adminChange Log


2. Change Log Features

Admin → Change Log
  → Shows the history of all content changes:
     - Who made the change (Username)
     - What was changed (Save/Publish/Delete/Move)
     - Which content (Name + ContentLink)
     - When (Timestamp)
  
  → Filter by:
     - Date range
     - User
     - Content type
     - Action type

3. Information in the Change Log

FieldDescription
DateTime of change
UserUser who made the change
ActionSave/Publish/Delete/Move
ContentName and link of the content
LanguageLanguage

4. Programmatic Access

// IChangeLogService to read the change log
public class ChangeLogService
{
    private readonly IChangeLogRepository _changeLogRepository;

    public ChangeLogService(IChangeLogRepository changeLogRepository)
    {
        _changeLogRepository = changeLogRepository;
    }

    public IEnumerable<ChangeLogItem> GetRecentChanges(int count = 100)
    {
        return _changeLogRepository.List()
            .Take(count)
            .OrderByDescending(c => c.ChangedAt);
    }
}

Review Questions

  1. Where is the Change Log in Admin? (/episerver/cms/admin → Change Log)
  2. What does the Change Log record? (Who changed what, which content, when)
  3. What can the change log be filtered by? (Date range, User, Content type, Action)