How To Make Your Sitecore Data Templates Look Like Folders

October 25, 2013 | Ed Kapuscinski

How to Make Your Sitecore Data Templates Look Like Folders Main Image

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.

Sitecore "Folder" editor view

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.

Standard Values

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

Appearance section

Choose the “Folder” item under Items.

"Folder" item under Items

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.

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

copy GUID for the folder editor out of the Editors field

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.

Paste the GUID into Editors fields

Finally, hit save and you’re done.

click save

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 the Author

Ed Kapuscinski

I am the Manager of Development Standards at TBG.

Leave A Reply

comments powered by Disqus