folder_large

How To Make Your Sitecore Data Templates Look Like Folders

One of Sitecore’s many virtues are its configurable UI. Some of these configurations are just minor improvements, but doing these goes a long way to creating a pleasant content management experience for users.A good example of this is the “Folder” editor view that Sitecore provides. This editor appears in the right side of the CMS interface, and is helpful on content items that really serve just as folders to hold other items. It shows you a graphical representation of the items below the current item, and allows you to quickly create a new one.

image1

By default, Sitecore applies this view to items of the “Folder” type, but every site we’ve built has had a need for “folders” that are their own data templates, typically to allow for the right insert options. Applying this view to your own data templates is actually really easy and quick.

First, go to the standard values for the data template.

image2

In the appearance section, edit the “Editors” field (not Editor, that’s not what you want).

image3

Choose the “Folder” item under Items.

image4

And you’re done.

Here’s a bonus protip: If you have a bunch to do, it’s even quicker to turn on “Raw Values” mode, and just paste the GUID of the Folder editor into the “Editors” field of all the standard values items you want to apply it to.

First, turn on “Raw Values” by checking the “Raw Values” box on the View ribbon. Sitecore will warn you when it’s on.

image5

Then, copy the GUID for the folder editor out of the Editors field:

image6

In our case, it was “{A0C460F4-DBAE-4A5A-8F3A-C4ADFCDACEEA}” but that might vary from instance to instance.

Then just paste that GUID into the Editors fields of all of the data templates that need it.

image7

Finally, hit save and you’re done.

image8

Don’t forget to turn raw values mode off when you’re done, otherwise your CMS experience will look really strange.

Small usability improvements like this can really add up and make the content management experience of end users significantly better, which means happier users, higher adoption levels and ultimately more successful projects.

About Ed K.

I am a CMS implementation developer and consultant here at The Berndt Group.

This entry was posted in Tools & Tips and tagged . Bookmark the permalink.

4 Comments

  1. Good article Ed. This does help a lot.

    • Ed K

      I’m glad you think so. This post actually got written after I finished doing it for your benefit!

  2. John West

    Just noting that you first have to view standard fields (select the Standard Fields checkbox in the View group on the View tab). For performance, hide the standard fields afterwards. For usability, hide raw values.

    • Ed K

      Thanks John. I took for granted that they’d be turned on. Whoops!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>