Start of Main Content

Where can the Module be found? Sitecore Marketplace

What is the Enhanced Template Builder

The Enhanced Template Builder is a Sitecore Shared Source module that allows the user to easily create and edit templates. It focuses on providing the user with tools and options such as the Field Type Selector, Source Field Builder and the Required Field checkbox that allow for a more efficient and streamlined experience.

Field Type Selector

Selecting a field type can be a confusing process due to the vast amount of field types with similar names and functionality. What ends up happening is you go back and forth between the template and a content item to verify that this is the actual field type you would like to use for that field. Going back and forth from the template to the item may happen several times until the correct field type is selected. On the Enhanced Template Builder form I have added an image button to the right of the Field Type dropdown list.

By clicking on the image button, it will launch the Field Type Selector modal (a screenshot of the modal is below) that consists of two sections. The left side contains a content tree of the field types as specified in the core database. This also includes custom fields that you may have developed. By clicking a field type it will initiate the Preview section on the right which will render the selected field type. By rendering the field, it allows the user to actively use the field as they normally would in the Sitecore Content Editor. If this is the field you would like to use, you can click the Submit button and it will backfill the dropdown list on the Enhanced Template Builder, therefore selecting your field type.

Take the next step on your digital marketing journey. Reach out. 

We leverage design and technology to set you on the path to digital success by using them to connect your audiences to a world of engaging content. 

Source Field Builder


The source field is very cumbersome if you wish to do anything more than selecting a root item for that field. You need to know the Sitecore Query language which is confusing and most developers do not use it enough to remember the syntax. Therefore you find yourself consistently going back to older projects or searching the internet for examples that we can modify and make work to the needs of our field. On the Enhanced Template Builder form I have added an image button to the right of the source field and when clicked launches the Source Field Builder.

The Source Field Builder allows the user to select a root node, filter the query based on templates as well as defining whether the query is a deep or not. This greatly increases the efficiency of any developer, reduces research time and allows the developer to focus their attention on more critical areas without having to worry about the proper syntax of a simple or complex query

Required Field

The template builder in its current form does not allow a field to be set as required. To do so, you must leave the template builder and drill down to the field item and set the four fields under the Validation Rules section. This means you need to save your changes, leave the template builder to set the field as required only to most likely return to the template builder to continue building the template. To alleviate this I have added a required checkbox that when saved will auto-populate each of the four fields under Validation Rules with the Required flag.


Latest Ideas

Take advantage of our expertise with your next project.