Profile to test the feature "Dynamic items list" in trackers. Thanks to joonhyun for creating the show.t.o instance for
https://dev.tiki.org/item4896, where this profile was created from.
Products Tracker
YAML
preferences:
feature_trackers: y
trackerfield_autoincrement: y
trackerfield_itemlink: y
trackerfield_itemslist: y
objects:
-
type: tracker
ref: products
data:
name: Products
description:
restrict_end: 0
section_format: flat
restrict_start: 0
-
type: tracker_field
ref: products_name
data:
name: Name
permname: name
tracker: $profileobject:products$
options:
options:
- Oracle Database
- IBM DB2
- Oracle WebLogic Server
- Microsoft IIS
- PostgreSQL
type: dropdown
order: 10
flags:
- link
- public
- mandatory
-
type: tracker_field
ref: products_version
data:
name: Version
permname: version
tracker: $profileobject:products$
options:
samerow: 1
type: text_field
order: 20
flags:
- public
-
type: tracker_option
ref: products_sort_default_field
data:
tracker: $profileobject:products$
name: sort_default_field
value: modification
Service Tracker
YAML
objects:
-
type: tracker
ref: service
data:
name: Service
description:
restrict_end: 0
section_format: flat
restrict_start: 0
-
type: tracker_field
ref: service_productName
data:
name: Product Name
permname: productName
tracker: $profileobject:service$
options:
trackerId: $profileobject:products$
fieldId: $profileobject:products_name$
linkToItem: 1
status: opc
preSelectFieldMethod: exact
displayOneItem: one
type: item_link
order: 10
flags:
- link
- searchable
- public
- mandatory
-
type: tracker_field
ref: service_productVersion
data:
name: Product Version
permname: productVersion
tracker: $profileobject:service$
options:
trackerId: $profileobject:products$
filterFieldIdThere: $profileobject:products_name$
filterFieldIdHere: $profileobject:service_productName$
listFieldIdThere: $profileobject:products_version$
statusThere: opc
type: item_list_dynamic
order: 20
flags:
- link
- public
-
type: tracker_field
ref: service_serviceName
data:
name: Service Name
permname: serviceName
tracker: $profileobject:service$
options:
samerow: 1
type: text_field
order: 30
flags:
- public
-
type: tracker_option
ref: service_sort_default_field
data:
tracker: $profileobject:service$
name: sort_default_field
value: modification