ItemPublisher:Item.Field

Version: - string  

Summary

Returns field object.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("ItemPublisher:Item.Field")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@ItemPublisher:Item.Field-->

Check if string has a value

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