Go to content

Go to employees

Go to search

Disable gadget problem

While upgrading a large site to CMS 6, I discovered a strange "feature" in the dashboard gadget handling. This is a small blog post on how you fix it if others run into the same problem.

Lars Øyvind Bodahl
 

I'm working on a large site (close to 500,000 pages) and there are some standard functionality that does not work well on such large sites. We are currently upgrading the site to CMS 6, and while doing so I needed to hide some of the gadgets from the dashboard. The Unchanged pages gadget crashed every time it was loaded, so I had to disable it.

According to the documentation, you disable a gadget by adding the type name to the config file. Like this:

<code><episerver.shell>
  <dashboard>
    <disabledGadgets>
      <add name="EPiServer.Cms.Shell.UI.Controllers.QuickLinksController" />
    </disabledGadgets>
  </dashboard>
</episerver.shell></code>

But, nothing happended when I added the line:

<add name="EPiServer.Cms.Shell.UI.Controllers.NotChangedPagesController" />

It worked well for other gadgets, so I tried several combinations... My last try was to use the display name. That actually helped! So, if you need to hide the "Unchanged pages" gadget, you need to add the following line:

<add name="Not Changed Pages" /> 

(Note: I submitted this to support as a bug)


Comments:

  1. Support are superfast as usual: Bug #78212: Unable to disable "Unchanged pages" gadget
  2. Hello! Great to see you article! I've just faced the same issue. However, the problem is still exists if users already added this gadget to the dashboard. Of course, they cannot add it, but if they already did - for a large sites the cms is going down very fast then you'll try to open dashboard. Do you know the way to remove gadgets from the users dashboard?
Post a comment