Item.Area.Group.Name

Version: - string  

Summary

Returns the name of the field group in the item type that is used in website properties.

Settings

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

(Management Center - Item types - [Item type] - [Item type group] - Name)

Examples

Outputting the template tag

@GetString("Item.Area.Group.Name")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Item.Area.Group.Name"); }

Outputting the template tag

<!--@Item.Area.Group.Name-->

Check if string has a value

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