PhoneBusiness

Version: - string  

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

@GetString("PhoneBusiness")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("PhoneBusiness"); }

Outputting the template tag

<!--@PhoneBusiness-->

Check if string has a value

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