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