ItemPublisher:Item.Field.Id

Version: - string  

Summary

Returns the ID of the item field.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("ItemPublisher:Item.Field.Id")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if string has a value

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