disabling standard fields checkbox in for non-admins in the view ribbon

Our users are toggling the checkbox for standard fields from the view ribbon and becoming very confused when they inadvertently modify things that they shouldn't. I am looking for a way to disable this for all users that do not have admin access. Any ideas?

  • Hi Tim,

    Easiest way to achieve this would be to in the core database traverse to:

    `/sitecore/content/Applications/Content Editor/Ribbons/Chunks/View`.

    Once here in the content tree you'll see a child item for "standard values", you can delete it and poof it'll disappear.

    I highly recommended creating a package and backing up this item you are deleting just in case you want to ever restore it.


    Anis Chohan
    Sitecore Rockstar
  • In reply to Anis Chohan:

    Or better yet, might be worth denying access to the item for all users accept administrators. This way you don't lose it.
  • Hello  

    As per your requirement, you need to disabled the Standard Field Check Box under View Tab in Sitecore 9.1 Content Management Only For Non-Admin Users , Right?.

    To do this extend the standard field check box button command which name is name="contenteditor:togglestandardfields" , just type in your browser

    http://yoursitecore instancename/sitecore/admin/showconfig.aspx and search for above name , this will show you like

    <command name="contenteditor:togglestandardfields" type="Sitecore.Shell.Framework.Commands.ContentEditor.ToggleStandardFields,Sitecore.Kernel"/>

    Now instead of using Sitecore default command type I have written a small code and just put the type in the above command like below :

    <configuration xmlns:patch="www.sitecore.net/.../" xmlns:role="www.sitecore.net/.../">
    <sitecore role:require="Standalone or ContentManagement">

    <command name="contenteditor:togglestandardfields"

    type="Your Project Assembly Name.DisabledStandardField, Your Assembly Name "/>


    Now the code is below :

    /// <summary>Represents the Toggle Standard Fields command.</summary>
    public class DisabledStandardField : Sitecore.Shell.Framework.Commands.Command
    /// <summary>Executes the command in the specified context.</summary>
    /// <param name="context">The context.</param>
    public override void Execute(CommandContext context)

    /// <summary>Gets the click action.</summary>
    /// <param name="context">The context.</param>
    /// <param name="click">The default click action.</param>
    /// <returns></returns>
    public override string GetClick(CommandContext context, string click)
    return "StandardFields_Click";

    /// <summary>Queries the state of the command.</summary>
    /// <param name="context">The context.</param>
    /// <returns></returns>
    public override CommandState QueryState(CommandContext context)

    // if (Sitecore.Context.User.IsInRole("extranet\\Content User Role"))
    if (!Sitecore.Context.User.IsAdministrator)
    return CommandState.Disabled;
    return CommandState.Enabled;

    See the result below :