Global:Extranet.PhoneMobile

globalvalue  

Summary

Returns the mobile phone number of the extranet user.

Settings

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

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

Examples

Outputting the template tag

@GetGlobalValue("Global:Extranet.PhoneMobile")

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

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

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)-->