Item.Area.[FieldSystemName].Label

Version: - string  

Summary

Returns the label of the field option.

Settings

The value is based on the label of the option.

(Management Center - Item Types - [Item Type] - Field - Options - Label)

Examples

Outputting the template tag

@GetString("Item.Area.[FieldSystemName].Label")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Item.Area.[FieldSystemName].Label"); }

Outputting the template tag

<!--@Item.Area.[FieldSystemName].Label-->

Check if string has a value

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