Movatterモバイル変換


[0]ホーム

URL:


Dev GuideRecipesAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityOptimizely AcademySubmit a ticketLog InContent Management System
Dev Guide
All
Pages
Start typing to search…

Debug CMS UI

Describes how to debug the Optimizely Content Management System (CMS) user interface.

You can run your site with uncompressed JavaScript in edit view to debug the Optimizely Content Management System (CMS) user interface. To do this, you need to enable debug mode for client resources by usingEPiServer.Framework.Web.Resources.ClientResourceOptions class add setting theDebug property totrue.

Example configuration:

if (_webHostingEnvironment.IsDevelopment()) {  services.Configure<ClientResourceOptions>(uiOptions => {    uiOptions.Debug = true;  });}

The CMS UI NuGet packages contain the JavaScript files required to run the user interface compressed into a zip file. The system then reads the contents of the zip file at run time. At initialization, if the client resources debug flag is set totrue, the system first looks for a debug version of the JavaScript zip file and, if it exists, loads that instead.

EPiServer.CMS.UI.Sources

TheEPiServer.CMS.UI.Sources NuGet package contains all original user interface source files and uncompressed Dojo and Dijit.

The source package is built as part of every release and ties into the continuous release cycle. You can install it like any other NuGet package from nuget.optimizely.com.

Install-Package EPiServer.CMS.UI.Sources

You can use this package if you need to manipulate source files and create a customized Dojo build. It comes together with Dojo build tools.

📘

Note

To debug the CMS edit view, you do not need this package. The change described above is sufficient.

Updated 10 days ago



[8]ページ先頭

©2009-2025 Movatter.jp