ItemCreator:Item.Group.Fields
Summary
The ItemCreator:Item.Group.Fields
loop lets you display various information about the item fields.
Examples
Basic usage
Notice the use of @item.GetValue to get data from the loop variable.
If you just write @GetValue, the data will be taken from outside the loop.
Similarly, you have to use @item.GetLoop to use loops inside a loop.
Check if the loop exists
Example of usage
The following general example illustrates how to use a loop construct.
Check if the loop exists
Available tags
ItemCreator:Item.[ItemFieldSystemName]
Returns the value of the item field.
@GetString("ItemCreator:Item.[ItemFieldSystemName]")
ItemCreator:Item.[ItemFieldSystemName].IsRequired
Returns True if the item field is marked as required.
@GetBoolean("ItemCreator:Item.[ItemFieldSystemName].IsRequired")
ItemCreator:Item.[ItemFieldSystemName].Name
Returns the name of the item type.
@GetString("ItemCreator:Item.[ItemFieldSystemName].Name")
ItemCreator:Item.[ItemFieldSystemName].SystemName
Returns the system name of the item field.
@GetString("ItemCreator:Item.[ItemFieldSystemName].SystemName")
ItemCreator:Item.[ItemFieldSystemName].Type
Returns the type of the item field.
@GetString("ItemCreator:Item.[ItemFieldSystemName].Type")
ItemCreator:Item.[ItemFieldSystemName].Value
Returns the value of the item field.
@GetString("ItemCreator:Item.[ItemFieldSystemName].Value")
ItemCreator:Item.Field
Returns the value of the item field.
@GetString("ItemCreator:Item.Field")
ItemCreator:Item.Field.First
Returns True if the item field is the first in the list.
@GetBoolean("ItemCreator:Item.Field.First")
ItemCreator:Item.Field.Last
Returns True if the item field is the last in the list.
@GetBoolean("ItemCreator:Item.Field.Last")
ItemCreator:Item.Field.SystemName
Returns the system name of the item field.
@GetString("ItemCreator:Item.Field.SystemName")
ItemCreator:Item.Field.Type
Returns the type of the item field.
@GetString("ItemCreator:Item.Field.Type")
ItemCreator:Item.Field.Value
Returns the value of the item field.
@GetString("ItemCreator:Item.Field.Value")
ItemCreator:Item.Fields.IsRequired
Returns True if the item field is marked as required.
@GetBoolean("ItemCreator:Item.Fields.IsRequired")
ItemCreator:Item.Fields.Name
Returns the name of the item type.
@GetString("ItemCreator:Item.Fields.Name")
ItemCreator:Item.SystemName
Return the system type of the item type.
@GetString("ItemCreator:Item.SystemName")
Available loops
ItemCreator:Edit.Item.[FieldSystemName].Options
The ItemCreator:Edit.Item.[FieldSystemName].Options
loop lets you display information about options for the item type field has [FieldSystemName] system name.
@foreach (LoopItem item in GetLoop("ItemCreator:Edit.Item.[FieldSystemName].Options")){ <p>@item.GetValue("TagName")</p> }
ItemCreator:Edit.Item.Field.Options
The ItemCreator:Edit.Item.Field.Options
loop lets you display information about options for the item type's field.
@foreach (LoopItem item in GetLoop("ItemCreator:Edit.Item.Field.Options")){ <p>@item.GetValue("TagName")</p> }
ItemCreator:Item.[ItemFieldSystemName].Options
The ItemCreator:Item.[ItemFieldSystemName].Options
loop lets you display various information about the options for the fields of type List.
@foreach (LoopItem item in GetLoop("ItemCreator:Item.[ItemFieldSystemName].Options")){ <p>@item.GetValue("TagName")</p> }
ItemCreator:Item.Field.Options
The ItemCreator:Item.Field.Options
loop lets you display various information about the options for the fields of type List.
@foreach (LoopItem item in GetLoop("ItemCreator:Item.Field.Options")){ <p>@item.GetValue("TagName")</p> }
ItemCreator:Item.Fields
The ItemCreator:Item.Fields
loop lets you display various information about the item fields.
@foreach (LoopItem item in GetLoop("ItemCreator:Item.Fields")){ <p>@item.GetValue("TagName")</p> }
ItemCreator:Item.Groups
The ItemCreator:Item.Groups
loop lets you display various information about the groups in the item type.
@foreach (LoopItem item in GetLoop("ItemCreator:Item.Groups")){ <p>@item.GetValue("TagName")</p> }