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