Profile to test the feature "Dynamic items list" in trackers, with a Products tracker, and a Services tracker showing the available products at the moment. Thanks to joonhyun for creating the show.t.o instance for
https://dev.tiki.org/item4896, where this profile was created from.
This instructions page is here:
Profile_Dynamic_items_list_demo_services_page
Dynamic Demo Products Tracker
YAML
Copy to clipboard
preferences:
feature_trackers: y
trackerfield_autoincrement: y
trackerfield_itemlink: y
trackerfield_itemslist: y
trackerfield_dynamiclist: y
trackerfield_dropdownother: y
wikiplugin_tracker: y
wikiplugin_trackerfilter: y
instructions: Profile_Dynamic_items_list_demo_services_page
objects:
-
type: tracker
ref: dynamicProducts
data:
name: Dynamic Demo Products
description:
restrict_end: 0
restrict_start: 0
sort_default_order: desc
sort_default_field: modification
fieldPrefix: dynProd
-
type: tracker_field
ref: dynamicProducts_name
data:
name: Name
permname: dynProdName
tracker: $Dynamic_items_list_demo:dynamicProducts
options:
options:
- Oracle Database
- IBM DB2
- Oracle WebLogic Server
- Microsoft IIS
- PostgreSQL
type: dropdown_other
order: 10
flags:
- list
- searchable
- link
- public
- mandatory
-
type: tracker_field
ref: dynamicProducts_version
data:
name: Version
permname: dynProdVersion
tracker: $Dynamic_items_list_demo:dynamicProducts
options:
samerow: 1
type: text_field
order: 20
flags:
- list
- searchable
- public
Objects in Dynamic Demo Products Tracker
YAML
Copy to clipboard
objects:
-
type: tracker_item
ref: product_001
data:
tracker: $Dynamic_items_list_demo:dynamicProducts
status: open
values:
- [ $Dynamic_items_list_demo:dynamicProducts_name, Oracle Database ]
- [ $Dynamic_items_list_demo:dynamicProducts_version, 10.2.0.5 ]
-
type: tracker_item
ref: product_002
data:
tracker: $Dynamic_items_list_demo:dynamicProducts
status: open
values:
- [ $Dynamic_items_list_demo:dynamicProducts_name, IBM DB2 ]
- [ $Dynamic_items_list_demo:dynamicProducts_version, 7.3 ]
-
type: tracker_item
ref: product_003
data:
tracker: $Dynamic_items_list_demo:dynamicProducts
status: open
values:
- [ $Dynamic_items_list_demo:dynamicProducts_name, Oracle Database ]
- [ $Dynamic_items_list_demo:dynamicProducts_version, 9.2.0.8 ]
-
type: tracker_item
ref: product_004
data:
tracker: $Dynamic_items_list_demo:dynamicProducts
status: open
values:
- [ $Dynamic_items_list_demo:dynamicProducts_name, PostgreSQL ]
- [ $Dynamic_items_list_demo:dynamicProducts_version, 9.3.1 ]
-
type: tracker_item
ref: product_005
data:
tracker: $Dynamic_items_list_demo:dynamicProducts
status: open
values:
- [ $Dynamic_items_list_demo:dynamicProducts_name, Oracle WebLogic Server ]
- [ $Dynamic_items_list_demo:dynamicProducts_version, 10.3.5 ]
Dynamic Demo Service Tracker
YAML
Copy to clipboard
objects:
-
type: tracker
ref: dynamicService
data:
name: Dynamic Demo Service
description:
restrict_end: 0
restrict_start: 0
sort_default_order: desc
sort_default_field: modification
fieldPrefix: dynSrv
-
type: tracker_field
ref: dynamicService_productName
data:
name: Product Name
permname: dynSrvProductName
tracker: $Dynamic_items_list_demo:dynamicService
options:
trackerId: $Dynamic_items_list_demo:dynamicProducts
fieldId: $Dynamic_items_list_demo:dynamicProducts_name
linkToItem: 0
status: opc
addItems: Add item...
preSelectFieldMethod: exact
displayOneItem: one
type: item_link
order: 10
flags:
- list
- searchable
- public
- mandatory
-
type: tracker_field
ref: dynamicService_productVersion
data:
name: Product Version
permname: dynSrvProductVersion
tracker: $Dynamic_items_list_demo:dynamicService
options:
trackerId: $Dynamic_items_list_demo:dynamicProducts
filterFieldIdThere: $Dynamic_items_list_demo:dynamicProducts_name
filterFieldIdHere: $Dynamic_items_list_demo:dynamicService_productName
listFieldIdThere: $Dynamic_items_list_demo:dynamicProducts_version
statusThere: opc
type: item_list_dynamic
order: 20
flags:
- list
- searchable
- public
-
type: tracker_field
ref: dynamicService_serviceName
data:
name: Dynamic Demo Service Name
permname: dynSrvName
tracker: $Dynamic_items_list_demo:dynamicService
options:
samerow: 1
type: text_field
order: 0
flags:
- list
- link
- searchable
- public
- mandatory
Objects in Dynamic Demo Service Tracker
YAML
Copy to clipboard
objects:
-
type: tracker_item
ref: dynamicService_001
data:
tracker: $Dynamic_items_list_demo:dynamicService
status: open
values:
- [ $Dynamic_items_list_demo:dynamicService_productName, $profileobject:product_003$ ]
- [ $Dynamic_items_list_demo:dynamicService_productVersion, 10.2.0.5 ]
- [ $Dynamic_items_list_demo:dynamicService_serviceName, ERP ]
-
type: tracker_item
ref: dynamicService_002
data:
tracker: $Dynamic_items_list_demo:dynamicService
status: open
values:
- [ $Dynamic_items_list_demo:dynamicService_productName, $profileobject:product_004$ ]
- [ $Dynamic_items_list_demo:dynamicService_productVersion, 9.3.1 ]
- [ $Dynamic_items_list_demo:dynamicService_serviceName, DRDB ]
Add a form to add a vote and show the results from the voting
This will include:
Profile_Dynamic_items_list_demo_services_page
YAML
Copy to clipboard
instructions: Dynamic Demo Services
preferences:
enable: [ feature_wiki ]
objects:
-
type: wiki_page
ref: dynamicServices_page
data:
name: Dynamic Demo Services
description: Show and add dynamicServices with the available products at the time
lang: en
content: wikicontent:Profile_Dynamic_items_list_demo_services_page
Alias names for this page:
Dynamic item list |
Dynamic items list |
Dynamic_item_list |
Dynamic_items_lists |
Dynamic item list demo |
Dynamic items list demo |
Dynamic_items_list |
Dynamic_items_lists_demo