Global:OMC.Visitor.HasProfiles
Version: - booleanSummary
Returns True if the solution have at least one visitor profile in Online Marketing Center.
Settings
The value is generated automatically.
Remarks
Returns an empty value if false.
Examples
Outputting the template tag
@GetBoolean("Global:OMC.Visitor.HasProfiles")
Check if tag has a value
@if(!bool.IsNullOrWhiteSpace(GetBoolean("Global:OMC.Visitor.HasProfiles"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
bool storedTag = GetBoolean("Global:OMC.Visitor.HasProfiles");
}
Outputting the template tag
<!--@Global:OMC.Visitor.HasProfiles-->
Check if boolean has a value
<!--@If Defined(@Global:OMC.Visitor.HasProfiles)-->
Let's output this tag here: <strong><!--@Global:OMC.Visitor.HasProfiles--></strong>
<!--@EndIf(@Global:OMC.Visitor.HasProfiles)-->