UserManagement:User.Item.Field.Type

Version: - string  

Summary

Returns the type of the item field.

Settings

The value is based on the Type field in the item field settings.

(Management Center - Item types - [Item type] - [Item type field] - Type)

Examples

Outputting the template tag

@GetString("UserManagement:User.Item.Field.Type")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("UserManagement:User.Item.Field.Type"))) { @* 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.Type"); }

Outputting the template tag

<!--@UserManagement:User.Item.Field.Type-->

Check if string has a value

<!--@If Defined(@UserManagement:User.Item.Field.Type)--> Let's output this tag here: <strong><!--@UserManagement:User.Item.Field.Type--></strong> <!--@EndIf(@UserManagement:User.Item.Field.Type)-->