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