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 Content Management System (CMS) 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:

    <!-- Set iframe timeout to 20 seconds -->
    <add key="episerver:ui:PreviewTimeout" value="20000" />

This timeout was added in the EPiServer.CMS.UI 10.2.0 package to solve a bug and make the iframe load more reliable.

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. Therefore, 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:

    <add key="episerver:ui:ApprovalStepRoleUserLimit" value="100" />