ItemPublisher:Item.Field.Value

Version: -  

Summary

Return the content of the item field.

Settings

The value is based on the value in the item field

Examples

Outputting the template tag

@GetObject("ItemPublisher:Item.Field.Value")

Check if tag has a value

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

Assign tag to a value for later use

@{ var storedTag = GetObject("ItemPublisher:Item.Field.Value"); }

Outputting the template tag

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

Check if object has a value

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