ItemCreator:Item.Field.Value

Version: - string  

Summary

Returns the value of the item field.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("ItemCreator:Item.Field.Value")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("ItemCreator:Item.Field.Value"); }

Outputting the template tag

<!--@ItemCreator:Item.Field.Value-->

Check if string has a value

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