Creating categories

This topic is intended for administrators and developers with administration access rights in Episerver.

Episerver CMS, a category classifies content, such as for building filtering features for search and navigation. You create categories in admin view, and apply them to content in edit view.

A category is a built-in property in Episerver CMS. You can apply categories to content, but you need to build the customized functionality for your website to display the resulting outcome, such as in a filtering. Also, do not confuse content categories with Commerce categories; see Creating a catalog entry.

Adding a category

Add a new top-level category as follows:

  1. From admin view > Config tab, select Edit Categories.
  2. Click Add. A new row is added to the table.
  3. Specify a name in the Name field. This name is used in code when building category-based functionality.
  4. Enter a name in the Display name field. This name is visible in edit view when a user selects categories. You also can language-encode this field.
  5. Select Visible if you want this category to appear in the Select Categories dialog box in edit view.
  6. Select Selectable if you want this category to be selectable in the Select Categories dialog box in edit view.
  7. Use the up or down arrows if you want to move this category higher or lower in the list. This sequence determines the order in which categories appear in the Select Categories dialog box.
  8. If you want to add a subcategory to a top-level, select the plus sign under Add. Add the subcategory in the same way as the top-level category.

Deleting or changing a category

Depending on how a category is used on your website, changing or deleting a category may cause things to stop working. Check with your developer before changing or deleting a category.

back to top

Episerver User Guide 16-4 | Released: 2016-05-27 | © Episerver 2016 | Send feedback to us