高度なカスタマイズ > 再使用可能なコンポーネントの使用 > 利用できる再使用可能なコンポーネント > アイテムリスト > 添付資料リスト
  
添付資料リスト
添付資料リストは、添付資料を表示する、アイテムリストの再使用可能なコンポーネントの定義済みコンフィギュレーションです。添付資料リストには、特定の変更リクエストの添付資料が表示されます。各添付資料の添付資料リストには、調整を使用して選択可能な属性が表示されます。デフォルトの属性には、「ファイル名」「FileSize」「説明」「最終修正日」「修正者」「外部の場所」があります。ファイル名にはファイルタイプも表示されます。ファイル名をクリックすると、添付資料をダウンロードしたり、リンクされている Web ページに移動することができます。
添付資料リストには、アイテムリストと同様に、サーチ、並べ替え、フィルタ、およびデフォルトに戻す機能があります。「My タスク」では、サーチは変更リクエストレビュータスクの「添付資料」タブでのみ使用でき、「詳細」タブには表示されません。
以下のサンプルイメージは、添付資料リストの定義済みコンフィギュレーションを示します。
添付資料リストの設定の詳細については、アイテムリストの再使用可能なコンポーネントを参照してください。また、添付資料リストのバインドプロパティについての情報も参照できます。
サンプルコンフィギュレーション
Sample JSON
{
"defaultSortDirection": {
"selectedKey": "asc"
},
"actionBarConfiguration": {},
"modelThingName": {
"entityName": "PTC.AttachmentItemListModelThing"
},
"filterFieldId": {
"selectedValues": {
"data": [
{
"itemListsData": [
{
"items": [
{
"id": ""
}
],
"objectType": "PTC.ChangeMgmt.ChangeRequest"
}
],
"adapter": {
"instanceName": "windchill",
"thingName": "PTC.WCAdapter"
}
}
]
}
},
"defaultSortField": {
"selectedValues": {
"data": [
{
"itemListsData": [
{
"items": [
{
"id": ""
}
],
"objectType": "PTC.ChangeMgmt.ChangeRequest"
}
],
"adapter": {
"instanceName": "windchill",
"thingName": "PTC.WCAdapter"
}
}
]
}
},
"filterLabelOverride": {
"value": ""
},
"label": {
"value": "[[PTC.AttachmentsLabel]]"
},
"attributes": {
"inTailoring": true,
"selectedValues": {
"data": [
{
"itemListsData": [
{
"items": [
{
"id": "FileName",
"ordinal": 0
},
{
"id": "FileSize",
"ordinal": 1
},
{
"id": "Description",
"ordinal": 2
},
{
"id": "LastModified",
"ordinal": 3
},
{
"id": "ModifiedBy",
"ordinal": 4
}
],
"objectType": "PTC.ChangeMgmt.ChangeRequest"
}
],
"adapter": {
"instanceName": "windchill",
"thingName": "PTC.WCAdapter"
}
}
]
}
},
"defaultSelectedFilterValue": {
"selectedValues": {
"data": [
{
"itemListsData": [
{
"items": [
{
"id": ""
}
],
"objectType": "PTC.ChangeMgmt.ChangeRequest"
}
],
"adapter": {
"instanceName": "windchill",
"thingName": "PTC.WCAdapter"
}
}
]
}
},
"enableSearch": {
"value": true
},
"maxNumberOfRowsInGrid": {
"value": 50,
"inTailoring": true
},
"modelConfigurations": {
"value": {}
},
"selectionType": {
"selectedKey": "multi"
},
"waitForInput": {
"value": true
}
}