進階自訂 > 使用可重複使用的元件 > 可用可重複使用的元件 > 項目清單 > 受影響項目清單
  
受影響項目清單
受影響項目清單是項目清單可重複使用元件之預先定義的組態。受影響項目清單會顯示受變更請求影響的項目。對於每個受影響項目,受影響項目清單會顯示您可以透過調整來選擇的屬性。預設屬性為項目「名稱」「編號」「物件類型指示器」「版本」「狀態」「描述」
每個項目名稱都是指向該項目之 ThingWorx Navigate 頁面的連結。如果沒有針對該項目類型的 ThingWorx Navigate 頁面,則其為該項目 Windchill 詳細資訊頁的連結。只有在您擁有存取連結之 ThingWorx NavigateWindchill 頁面的權限時,此連結才會正常運作。
如需詳細資訊,請參閱修改 ThingWorx 權限:使用者和群組
如需詳細資訊,請參閱安裝 ThingWorx Navigate 8.5 中的〈修改 ThingWorx 權限:使用者和群組〉。
受影響項目清單有與項目清單類似的搜尋、排序、篩選及還原預設值功能。在「我的任務」中,搜尋僅在變更請求審核任務中的「受影響項目」標籤下可用,在「詳細資訊」標籤下不可用。
受影響項目清單包含「匯出」按鈕,可讓您將所有清單項目匯出至 CSV 檔案。依預設,會啟用按鈕,但您可以透過調整來禁用它。
以下是顯示受影響項目清單預先定義組態的範例圖像:
如需有關受影響項目清單之繫結內容的資訊,請參閲項目清單可重複使用的元件。
組態欄位
如需有關配置受影響項目清單的資訊,請參閱項目清單可重複使用的元件。除了該頁面上列出的 JSON 金鑰以外,還有一些可針對受影響項目清單配置的 JSON 欄位,如下表所示。
屬性名稱
描述
類型
預設值
必要或選用
attributes
從後端系統獲取資料的屬性名稱。請參閱子内容:
MultiValueSelector
N/A
必要
modelAttributeDefinitions
請參閱子内容:
N/A
N/A
選用
isLink
屬性是否配置為在受影響項目清單中的連結。選項:truefalse
Boolean
N/A
選用
value
選項:truefalse
當設定為 true 時,會將欄配置為受影響項目清單中的連結。
當設定為 false 時,它會顯示為純文字。
Boolean
N/A
必要
範例組態
{
"modelConfigurations": {
"value": {}
},
"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"
}
}
]
}
},
"actionBarConfiguration": {
"maxItemsToShow": {
"value": 1
},
"modelThingName": {
"entityName": "PTC.ActionBarModel.Thing"
},
"actions": {
"selectedValues": {
"data": [
{
"itemListsData": [
{
"items": [
{}
],
"objectType": "WT.WorkItem.Actions"
}
],
"adapter": {
"instanceName": "windchill",
"thingName": "PTC.WCAdapter"
}
}
]
}
}
},
"modelThingName": {
"entityName": "PTC.AffectedItemListModelThing"
},
"label": {
"value": "[[PTC.AffectedItemsLabel]]"
},
"showExportAction": {
"inTailoring": true,
"value": true
},
"selectionType": {
"selectedKey": "multi"
},
"waitForInput": {
"value": true
},
"filterLabelOverride": {
"value": ""
},
"defaultSortDirection": {
"selectedKey": "asc"
},
"attributes": {
"selectedValues": {
"data": [
{
"itemListsData": [
{
"items": [
{
"additionalData": {
"modelAttributeDefinitions": {
"isLink": {
"value": true
}
}
},
"id": "AffectedObjects|Name",
"ordinal": 0
},
{
"id": "AffectedObjects|Number",
"ordinal": 1
},
{
"id": "AffectedObjects|TypeIcon#Tooltip",
"ordinal": 2
},
{
"id": "AffectedObjects|Version",
"ordinal": 3
},
{
"id": "AffectedObjects|State#Display",
"ordinal": 4
},
{
"id": "Description",
"ordinal": 5
}
],
"objectType": "PTC.ChangeMgmt.ChangeRequest"
}
],
"adapter": {
"instanceName": "windchill",
"thingName": "PTC.WCAdapter"
}
}
]
},
"inTailoring": true
},
"defaultSelectedFilterValue": {
"selectedValues": {
"data": [
{
"itemListsData": [
{
"items": [
{
"id": ""
}
],
"objectType": "PTC.ChangeMgmt.ChangeRequest"
}
],
"adapter": {
"instanceName": "windchill",
"thingName": "PTC.WCAdapter"
}
}
]
}
},
"enableSearch": {
"value": true
},
"maxNumberOfRowsInGrid": {
"inTailoring": true,
"value": 50
}
}