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 Working with catalog entries.
Add a new top-level category as follows:
- From admin view > Config tab, select Edit Categories.
- Click Add. A new row is added to the table.
- Specify a name in the Name field. This name is used in code when building category-based functionality.
- 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.
- Select Visible if you want this category to appear in the Select Categories dialog box in edit view.
- Select Selectable if you want this category to be selectable in the Select Categories dialog box in edit view.
- 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.
- 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.
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.