ItemPublisher:Item.[ItemFieldSystemName].Name

Version: - string  

Summary

Returns the name of the item field.

Settings

The value is based on the Name field in the item field settings.

(Management Center - Item types - [Item type] - [Item type field] - Name)

Examples

Outputting the template tag

@GetString("ItemPublisher:Item.[ItemFieldSystemName].Name")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if string has a value

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