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