高度なカスタマイズ > 再使用可能なコンポーネントの使用 > 利用できる再使用可能なコンポーネント > アイテム ID > タスク ID
  
タスク ID
タスク ID は、アイテム ID の再使用可能なコンポーネントの定義済みコンフィギュレーションであり、Windchill タスクに関する基本情報を含むパネルが表示されます。「タスク ID」パネルには、タスクとそれに関連付けられている変更リクエストに関する基本情報が表示されます。このパネルには、変更リクエストおよび ID 属性のプライマリタイトルとセカンダリタイトルが表示されます。このパネルに含まれるデフォルトの属性は、「役割」「期日」「ステータス」「カテゴリ」、および「リクエスト優先度」です。「タスク ID」パネルには、操作バーの再使用可能なコンポーネントも埋め込まれています。このパネルに含まれるデフォルトの操作は、「承認」「却下」「解析」、および「再割当」です。
以下のサンプルイメージは、タスク ID の定義済みコンフィギュレーションを示します。
「タスク ID」パネルの設定については、「アイテム ID」を参照してください。ここでは、タスク ID のバインドプロパティに関する情報も参照できます。
サンプルコンフィギュレーション
{
"actions": {
"maxItemsToShow": {
"value": 2
},
"modelThingName": {
"entityName": "PTC.ActionBarModel.Thing"
},
"actions": {
"selectedValues": {
"data": [
{
"itemListsData": [
{
"items": [
{
"id": "Approve",
"additionalData": {
"actionConfiguration": {
"overrideLabel": {
"value": ""
},
"actionButtonVisibility": {
"selectedKey": "HideUnavailable"
},
"buttonStyle": {
"selectedKey": "primary"
},
"mashupName": {
"mashupName": "PTC.AccessApp.WindchillServices.RoutingOptionMashup"
},
"popupWidth": {
"value": 600
},
"popupHeight": {
"value": 479
},
"redirectAfterPopupSuccess": {
"mashupName": "PTC.MyTasksAppMashup"
},
"fireEventOnFinish": {
"value": false
},
"activityType": {
"selectedKey": "popup"
}
}
},
"ordinal": 10
},
{
"id": "Reject",
"additionalData": {
"actionConfiguration": {
"overrideLabel": {
"value": ""
},
"actionButtonVisibility": {
"selectedKey": "HideUnavailable"
},
"buttonStyle": {
"selectedKey": "primary"
},
"mashupName": {
"mashupName": "PTC.AccessApp.WindchillServices.RoutingOptionMashup"
},
"popupWidth": {
"value": 600
},
"popupHeight": {
"value": 479
},
"redirectAfterPopupSuccess": {
"mashupName": "PTC.MyTasksAppMashup"
},
"fireEventOnFinish": {
"value": false
},
"activityType": {
"selectedKey": "popup"
}
}
},
"ordinal": 20
},
{
"id": "Analyze",
"additionalData": {
"actionConfiguration": {
"overrideLabel": {
"value": ""
},
"actionButtonVisibility": {
"selectedKey": "HideUnavailable"
},
"buttonStyle": {
"selectedKey": "primary"
},
"mashupName": {
"mashupName": "PTC.AccessApp.WindchillServices.RoutingOptionMashup"
},
"popupWidth": {
"value": 600
},
"popupHeight": {
"value": 479
},
"redirectAfterPopupSuccess": {
"mashupName": "PTC.MyTasksAppMashup"
},
"fireEventOnFinish": {
"value": false
},
"activityType": {
"selectedKey": "popup"
}
}
},
"ordinal": 30
},
{
"id": "Reassign",
"additionalData": {
"actionConfiguration": {
"overrideLabel": {
"value": "[[PTC.AccessApp.Reassign]]"
},
"actionButtonVisibility": {
"selectedKey": "AlwaysShown"
},
"buttonStyle": {
"selectedKey": "primary"
},
"mashupName": {
"mashupName": "PTC.AccessApp.WindchillServices.ReassignActionMashup"
},
"popupWidth": {
"value": 600
},
"popupHeight": {
"value": 579
},
"redirectAfterPopupSuccess": {
"mashupName": "PTC.MyTasksAppMashup"
},
"fireEventOnFinish": {
"value": false
},
"activityType": {
"selectedKey": "popup"
}
}
},
"ordinal": 40
}
],
"objectType": "WT.WorkItem.Actions"
}
],
"adapter": {
"instanceName": "windchill",
"thingName": "PTC.WCAdapter"
}
}
]
}
}
},
"secondaryTitle": {
"pattern": "%1",
"fields": {
"data": [
{
"itemListsData": [
{
"items": [
{
"numericIdentifier": 1,
"id": "Activity|Name"
}
],
"objectType": "PTC.Workflow.WorkItem"
}
],
"adapter": {
"instanceName": "windchill",
"thingName": "PTC.WCAdapter"
}
}
]
}
},
"attributes": {
"selectedValues": {
"data": [
{
"itemListsData": [
{
"items": [
{
"id": "Role#Display",
"ordinal": 0
},
{
"id": "Activity|Deadline",
"ordinal": 1
},
{
"id": "Status#Display",
"ordinal": 2
}
],
"objectType": "PTC.Workflow.WorkItem"
},
{
"items": [
{
"id": "Category#Display",
"ordinal": 3
},
{
"id": "RequestPriority#Display",
"ordinal": 4
}
],
"objectType": "PTC.ChangeMgmt.ChangeRequest"
}
],
"adapter": {
"instanceName": "windchill",
"thingName": "PTC.WCAdapter"
}
}
]
},
"inTailoring": true
},
"title": {
"pattern": "%1",
"fields": {
"data": [
{
"itemListsData": [
{
"items": [
{
"numericIdentifier": 1,
"id": "Subject|SubjectName"
}
],
"objectType": "PTC.Workflow.WorkItem"
}
],
"adapter": {
"instanceName": "windchill",
"thingName": "PTC.WCAdapter"
}
}
]
}
},
"modelThing": {
"entityName": "PTC.TaskIdentityModelThing",
"version": "1.0.0"
}
}