History: Dynamic_items_list_demo
Preview of version: 3
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
Copy to clipboard
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
Objects in Products Tracker
Copy to clipboard
objects: - type: tracker_item ref: product_001 data: tracker: $profileobject:products$ status: open values: - [ $profileobject:products_name, "Oracle Database" ] - [ $profileobject:products_version, "10.2.0.5" ] - type: tracker_item ref: product_002 data: tracker: $profileobject:products$ status: open values: - [ $profileobject:products_name, "IBM DB2" ] - [ $profileobject:products_version, "7.3" ] - type: tracker_item ref: product_003 data: tracker: $profileobject:products$ status: open values: - [ $profileobject:products_name, "Oracle Database" ] - [ $profileobject:products_version, "9.2.0.8" ] - type: tracker_item ref: product_004 data: tracker: $profileobject:products$ status: open values: - [ $profileobject:products_name, "PostgreSQL" ] - [ $profileobject:products_version, "9.3.1" ] - type: tracker_item ref: product_005 data: tracker: $profileobject:products$ status: open values: - [ $profileobject:products_name, "Oracle WebLogic Server" ] - [ $profileobject:products_version, "10.3.5" ]
Service Tracker
Copy to clipboard
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
Objects in Service Tracker
Copy to clipboard
objects: - type: tracker_item ref: service_001 data: tracker: $profileobject:service$ status: open values: - [ $profileobject:service_productName, "Oracle Database" ] - [ $profileobject:service_productVersion, "10.2.0.5" ] - [ $profileobject:service_service_serviceName, "ERP" ] - type: tracker_item ref: service_002 data: tracker: $profileobject:service$ status: open values: - [ $profileobject:service_productName, "PostgreSQL" ] - [ $profileobject:service_productVersion, "9.3.1" ] - [ $profileobject:service_service_serviceName, "DRDB" ]