Facet.Name
Version: - stringSummary
Returns name of the facet.
Settings
The value is based on Name field in MC>Repositories>Repository>Fecets>Faset.
Examples
Outputting the template tag
@GetString("Facet.Name")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Facet.Name"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Facet.Name");
}
Outputting the template tag
<!--@Facet.Name-->
Check if string has a value
<!--@If Defined(@Facet.Name)-->
Let's output this tag here: <strong><!--@Facet.Name--></strong>
<!--@EndIf(@Facet.Name)-->