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