HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

Configure CMS user interface

Describes available configuration options for the Optimizely user interface, with the purposes of enhancing performance and improving the user experience.

Iframe response timeout

If you get this message in edit view, it means that you have hit the response timeout for our editing iframe:

Preview Unavailable

Failed to load the preview within the given time constraints.

The default time to load a preview is 15 seconds. You can increase it by adding PreviewTimeout in appSettings.json. The value should be in milliseconds.

To set the preview timeout to 20 seconds, add this configuration:

{
  "EPiServer": {
    "CmsUI": {
      "UI": {
        "PreviewTimeout": 20000
      }
    }
  }
}

ApprovalStepRoleUserLimit configuration

If you are using large user groups in content approvals, there is a risk of performance issues (and unhappy users) due to the high number of notifications in the system. There is an appSetting called ApprovalStepRoleUserLimit, which triggers a validation warning when an administrator adds a group with members exceeding this setting. It will also limit the amount of notifications sent to the users in the group. The default setting is 100 users per group, but it can be configured in this key:

{
  "EPiServer": {
    "CmsUI": {
      "UI": {
        "ApprovalStepRoleUserLimit": 100
      }
    }
  }
}