Item.Field.SystemName

Version: - string  

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 field.

(Management center - System - Item fields - Item field - Field - Field settings - System name)

Examples

Outputting the template tag

@GetString("Item.Field.SystemName")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Item.Field.SystemName"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Item.Field.SystemName"); }

Outputting the template tag

<!--@Item.Field.SystemName-->

Check if string has a value

<!--@If Defined(@Item.Field.SystemName)--> Let's output this tag here: <strong><!--@Item.Field.SystemName--></strong> <!--@EndIf(@Item.Field.SystemName)-->