Item.[FieldSystemName].Name
Version: - stringSummary
Returns the system name of the item field.
Settings
The value is based on the Name field in the field settings for the item field.
(Management center - System - Item fields - Item field - Field - Field settings - Name)
Examples
Outputting the template tag
@GetString("Item.[FieldSystemName].Name")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Item.[FieldSystemName].Name"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Item.[FieldSystemName].Name");
}
Outputting the template tag
<!--@Item.[FieldSystemName].Name-->
Check if string has a value
<!--@If Defined(@Item.[FieldSystemName].Name)-->
Let's output this tag here: <strong><!--@Item.[FieldSystemName].Name--></strong>
<!--@EndIf(@Item.[FieldSystemName].Name)-->