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