ItemPublisher:Item.PageName
Version: - stringSummary
Returns the name of the page that is based on the selected item type.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("ItemPublisher:Item.PageName")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("ItemPublisher:Item.PageName"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("ItemPublisher:Item.PageName");
}
Outputting the template tag
<!--@ItemPublisher:Item.PageName-->
Check if string has a value
<!--@If Defined(@ItemPublisher:Item.PageName)-->
Let's output this tag here: <strong><!--@ItemPublisher:Item.PageName--></strong>
<!--@EndIf(@ItemPublisher:Item.PageName)-->