UserManagement:User.Item.Field.Value
Version: - stringSummary
Returns the content of the user item field.
Settings
The value is based on the custom item user input field.
(User Management > User > User tab > [Item type group] > [Item type field])
Remarks
Type depends on the item field type.
Examples
Outputting the template tag
@GetString("UserManagement:User.Item.Field.Value")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("UserManagement:User.Item.Field.Value"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("UserManagement:User.Item.Field.Value");
}
Outputting the template tag
<!--@UserManagement:User.Item.Field.Value-->
Check if string has a value
<!--@If Defined(@UserManagement:User.Item.Field.Value)-->
Let's output this tag here: <strong><!--@UserManagement:User.Item.Field.Value--></strong>
<!--@EndIf(@UserManagement:User.Item.Field.Value)-->