ItemCreator:Item.[ItemFieldSystemName].Name

Version: - string  

Summary

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.[ItemFieldSystemName].Name")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("ItemCreator:Item.[ItemFieldSystemName].Name"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("ItemCreator:Item.[ItemFieldSystemName].Name"); }

Outputting the template tag

<!--@ItemCreator:Item.[ItemFieldSystemName].Name-->

Check if string has a value

<!--@If Defined(@ItemCreator:Item.[ItemFieldSystemName].Name)--> Let's output this tag here: <strong><!--@ItemCreator:Item.[ItemFieldSystemName].Name--></strong> <!--@EndIf(@ItemCreator:Item.[ItemFieldSystemName].Name)-->