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