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