Documentation > CMS Template API Library > AssetPropertyNames > TemplateLabel
TemplateLabel
The "Label" (Not full path) of the folder which is assigned as a template. This can be used for filtering, but not sorting.
Type
CrownPeak.CMSAPI.AssetPropertyNames
Value
8
Code Example
C#
Sample:
FilterParams fParams = new FilterParams(); fParams.Add(AssetPropertyNames.TemplateLabel, Comparison.Equals, "Content Page"); List<Asset> list2 = Asset.Load("/Site/About Us").GetFilterList(fParams);