進階自訂 > 使用可重複使用的元件 > 可用可重複使用的元件 > 項目清單 > 附件清單
  
附件清單
附件清單是顯示附件之項目清單可重複使用元件的預先定義組態。附件清單會顯示特定變更請求的附件。針對每個附件,附件清單會顯示您可以透過調整來選擇的屬性。預設屬性為 FILENAMEFILESIZE「描述」「上次修改時間」「修改者」EXTERNALLOCATION。檔案名稱也會顯示檔案類型。您可以按一下檔案名稱來下載附件或導覽至連結的網頁。
附件清單有與項目清單類似的搜尋、排序、篩選及還原預設值功能。在「我的任務」中,搜尋僅在變更請求審核任務中的「附件」標籤下可用,在「詳細資訊」標籤下不可用。
以下是顯示附件清單預先定義組態的範例圖像:
如需有關配置附件清單的資訊,請參閱項目清單可重複使用的元件。您也可以在此找到附件清單之繫結內容的相關資訊。
範例組態
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
}
}