Global:Extranet.PhoneBusiness

globalvalue  

Summary

Returns the business phone number of the user.

Settings

The value is based on the Phone (business) input field for a user.

(User Management > User > User tab > Work panel > Phone (business))

Examples

Outputting the template tag

@GetGlobalValue("Global:Extranet.PhoneBusiness")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.PhoneBusiness"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetGlobalValue("Global:Extranet.PhoneBusiness"); }

Outputting the template tag

<!--@Global:Extranet.PhoneBusiness-->

Check if globalvalue has a value

<!--@If Defined(@Global:Extranet.PhoneBusiness)--> Let's output this tag here: <strong><!--@Global:Extranet.PhoneBusiness--></strong> <!--@EndIf(@Global:Extranet.PhoneBusiness)-->