ItemPublisher:Item.Group.Name

Version: -  

Summary

Returns the system name of the item field.

Settings

The value is based on the Name field in the Group settings for the item type.

(Management center - Item types - [Item type] - Group settings - Name)

Examples

Outputting the template tag

@GetObject("ItemPublisher:Item.Group.Name")

Check if tag has a value

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

Assign tag to a value for later use

@{ var storedTag = GetObject("ItemPublisher:Item.Group.Name"); }

Outputting the template tag

<!--@ItemPublisher:Item.Group.Name-->

Check if object has a value

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