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