This topic is intended for administrators and developers with administration access rights in Episerver.
Categories in Episerver CMS can be used to classify content, for example, when 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, for instance, in a filtering.
Also, do not confuse content categories with Commerce categories, see Creating a catalog entry.
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. This field can also be language encoded.
- Check Visible if you want this category to appear in the Select Categories dialog box in edit view.
- Check 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 categories are used on your website, changing or deleting a category may cause things to stop working. Check with your developer before changing or deleting categories.