ItemCreator:Global.PageId

Version: -  

Summary

Returns the ID of the page

Settings

The value is generated automatically

Examples

Outputting the template tag

@GetObject("ItemCreator:Global.PageId")

Check if tag has a value

@if(!var.IsNullOrWhiteSpace(GetObject("ItemCreator:Global.PageId"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ var storedTag = GetObject("ItemCreator:Global.PageId"); }

Outputting the template tag

<!--@ItemCreator:Global.PageId-->

Check if object has a value

<!--@If Defined(@ItemCreator:Global.PageId)--> Let's output this tag here: <strong><!--@ItemCreator:Global.PageId--></strong> <!--@EndIf(@ItemCreator:Global.PageId)-->