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