Consent.Activity.Id

Version: 9.5.0 string  

Summary

Returns ID of related consent activity.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Consent.Activity.Id")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Consent.Activity.Id"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Consent.Activity.Id"); }

Outputting the template tag

<!--@Consent.Activity.Id-->

Check if string has a value

<!--@If Defined(@Consent.Activity.Id)--> Let's output this tag here: <strong><!--@Consent.Activity.Id--></strong> <!--@EndIf(@Consent.Activity.Id)-->