1.

What do you mean by templates and write different types of templates in Sitecore?

Answer»

Templates essentially PROVIDE a schema for content, and schema gives definition and structure to content. Generally, templates are items that provide structure and behaviour for other items. The following types of templates are available in Sitecore for different purposes:

  • Data Templates: These are used to SPECIFY how data should be entered. Specifically, they determine which field sections, field types, and field names should be INCLUDED in each item.
  • Branch Templates: This ALLOWS you to create a set of items instead of just one. Each branch template contains a branch template definition item, which can consist of a SINGLE item, a hierarchy of items, or multiple hierarchies of items.
  • Command Template: You can insert items through logic rather than by using a predefined structure. The data template and branch template use predefined structures, but command templates refer to Sitecore UI commands that invoke wizards or logic to create new items.


Discussion

No Comment Found