Returns the house number for the extranet user.
The value is based on the House number input field for a user.
(User Management > User > User tab > Personal panel > House number)
Outputting the template tag
@GetGlobalValue("Global:Extranet.HouseNumber")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.HouseNumber"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetGlobalValue("Global:Extranet.HouseNumber");
}
Outputting the template tag
<!--@Global:Extranet.HouseNumber-->
Check if globalvalue has a value
<!--@If Defined(@Global:Extranet.HouseNumber)-->
Let's output this tag here: <strong><!--@Global:Extranet.HouseNumber--></strong>
<!--@EndIf(@Global:Extranet.HouseNumber)-->