Hi,
Please find an inspiration in below example which displays global and custom categories:
<%@ Register Src="~/CMSWebParts/TaggingCategories/categorylist.ascx" TagName="categorylist"
TagPrefix="uc1" %>
<uc1:repeater ID="categoryArticles" runat="server" ClassNames="cms.article" Path="/Examples/WebParts/Tagging---Categories/Category-list/%" TransformationName="CMS.Article.SimplePreview" SelectedItemTransformationName="CMS.Article.Default" EnableViewState="false" />
<uc1:categorylist runat="server" ID="categorylist" TransformationName="community.transformations.CategoryList" ShowForDocumentTypes="CMS.MenuItem" AliasPath="/Examples/Webparts/Tagging---Categories/Category-list/%" EnableViewState="false" />
This code comes from default Corporate site Aspx:
~/CMSTemplates/CorporateSiteASPX/WebParts/TaggingCategories.aspxIf for some document in /Examples/WebParts/Tagging---Categories/Category-list/ folder is selected custom or global category in Properties, this category is displayed in the category list webpart.
Best regards,
Ivana Tomanickova