Version: - globalvalue  


Returns the mobile phone number of the extranet user.


The value is based on the Mobile phone input field for a user.

(User Management > User > User tab > Personal panel > Mobile phone)


Outputting the template tag


Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag


Check if globalvalue has a value

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