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