Items List and Item Link Tracker Fields | |
This is one of the tracker field types in Trackers. See also Relations Tracker Field The item link field provides a selection list with all the unique values in a particular field of another tracker. This allows the use of trackers for simple relational database applications. Using an items list field instead of a text field or text area guarantees that always the same text/phrase is used to describe something, which helps in searching etc.
|
Example | |
You want to display the list of products of a company
The view of the tracker Products will look like The insert of a Product item will look like Company name will be drop down with Macromedia, Apple, Microsoft
|
Item link parameters | ||||||||||||||||||||||||
PS: If the Company tracker is not know before you enter the products, you will have not to use the itemlink type for the field 15 but a simple text field.
|
Items list parameters | |||||||||||||||||||||||||||||||||
FieldIdThere can be a list of fieldId - so that you cross as many trackers you want. For instance imagine your product tracker has a field contact(fieldId=50) that is an item link to a person tracker , and imagine the person tracker has 2 fields : a name (fieldId=51) and a phone number (fieldId:52)
|
Displaying Multiple Fields | |
FIELD46
name = Responses (Person,Yacht)
|
New options added in Tiki 9 | |
In Tiki9 some new options were added to "item link", which include:
|
New options added in Tiki 17 | |
Table display with optional TrackerList parameters | |
New options have been added in Tiki17 to the tracker field "item link", which allow to display the linked items as a table with the UI and potential features of PluginTrackerList, which opens the door to have custom inline editable fields, sortable tables, etc. In addition, you can get sums of values of the linked tracker items in a mathematical calculation field in the same source tracker. See an example in the profile Work_Custom_Pricing When editing that field, you can select through checkboxes which items you want to be really linked (from all the ones matching the pre-selection method defined in the tracker field definition. Those ones selected (two out of three in the previous screenshot) are the ones taken into account later on as linked and shown in the table display, and used in the mathematical calculation formula in the corresponding tracker fields of that profile. As previously indicated, you can indicate which fields you want displayed, which format, the options you want to be used in the table display, the pre-selection match criteria, and a few other options:
|
Wildcard items | |
Since Tiki17 (backported to Tiki 16.2 ), you can use wildcard items in the remote tracker:
|
New options added in Tiki 18 | |
ItemsList field can now use an already present DynamicItemList link to another tracker to list fields in addition to ones displayed in DynamicItemsList. For this purpose, Link Field ID must be left empty and Value Field ID must be set to the DynamicItemList field. |
New options added in Tiki 21 | |
ItemsList fields Editable: In edit and view mode, ItemsList fields now offer these options: add item, edit item, delete item.
|
Related | |
See also Dynamic items list. alias
Items list | item link | item list | items link | tracker field items list | tracker field item link | tracker field item list | tracker field items link | itemslist | itemlink | itemlist | itemslink | foreign key | Wildcard items | Wildcard | Wildcard_items | WildcardItems |