CMS 10.6 Configuring the ICE Controller


The CMSPageDefaultController.cs file requires updates in the DSS Preview project to work with the CMS 10.6 ICE client-side framework.

Caution
Without completing this update, all ICE markup updates will throw errors. However, newly created DSS Preview solutions for CMS 10.6 sites already have these changes in place. The following updates may only be required for existing implementations.

To update your DSS Preview CMSPageDefaultController.cs file:

  1. Navigate to [Drive]:[path-to-CMS-root-folder]\DSS_Preview\Controllers.
  2. Open CMSPageDefaultController.cs in a text editor. Locate and replace the following code:
    • Change this:

      public CommentFilteredJsonResult IceUpdate()

      To this:

      public JsonResult IceUpdate()

    • Change this:

      CommentFilteredJsonResult result = new CommentFilteredJsonResult();

      To this:

      JsonResult result = new JsonResult();

  3. Save and close CMSPageDefaultController.cs.
  4. Build your DSS Preview project (i.e., [Drive]:[path-to-CMS-root-folder]\DSS_Preview\Dynamic_Site_Server_Instance.csproj) to implement your code changes.

Next Steps: Configure the views for CMS 10.6 ICE setup.