SmartIT_Extensions/BMC/smart-it-full/scripts/app/configuration/configuration-constant.js

7700 lines
308 KiB
JavaScript

"use strict";
(function () {
'use strict';
var assetGraphExplorerFilter = [
{
name: 'assetTypes',
label: 'ciType',
options: []
},
{
name: 'assetSubTypes',
label: 'assetSubType',
options: []
},
{
name: 'companies',
label: 'searchCompanies',
options: [
{
label: 'searchCompanies',
type: 'search',
method: 'searchModel.getListOfCompaniesByText',
typeaheadTemplate: 'views/console/general-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{name: value}'
}
]
},
{
name: 'keywords',
label: 'keywords',
options: [
{
label: 'searchKeywords',
type: 'search',
subtype: 'keyword'
}
]
},
{
name: 'manufacturer',
label: 'manufacturer',
showLabelInPill: true,
options: [
{
label: 'searchManufacturer',
type: 'search',
method: 'searchModel.getFoundationManufacturersByText',
typeaheadTemplate: 'views/search/search-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: 'value'
}
]
},
{
name: 'model',
label: 'model',
showLabelInPill: true,
options: [
{
label: 'searchModel',
type: 'search',
subtype: 'keyword'
}
]
},
{
name: 'products',
label: 'product',
showLabelInPill: true,
options: [
{
label: 'searchProducts',
type: 'search',
method: 'parentScope.getProductCategoriesByCompany',
typeaheadTemplate: 'views/search/search-typeahead-template.html',
fields: {
key: 'value',
value: ''
},
valueFormat: '{categorizations: categorizations}'
}
]
},
{
name: 'room',
label: 'room',
showLabelInPill: true,
options: [
{
label: 'searchRoom',
type: 'search',
subtype: 'keyword'
}
]
},
{
name: 'region',
label: 'region',
showLabelInPill: true,
options: [
{
label: 'myRegion',
name: 'myRegion',
type: 'constant',
criteria: {
name: 'region'
}
},
{
label: 'searchRegion',
type: 'search',
method: 'searchModel.getFoundationRegionsByText',
typeaheadTemplate: 'views/search/search-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{region: value, companyName: companyName}'
}
]
},
{
name: 'siteGroup',
label: 'siteGroup',
showLabelInPill: true,
options: [
{
label: 'mySiteGroup',
name: 'mySiteGroup',
type: 'constant',
criteria: {
name: 'siteGroup'
}
},
{
label: 'searchSiteGroup',
type: 'search',
method: 'searchModel.getFoundationSiteGroupsByText',
typeaheadTemplate: 'views/search/search-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{siteGroup: value, region: regionName, companyName: companyName}'
}
]
},
{
name: 'sites',
label: 'site',
showLabelInPill: true,
options: [
{
label: 'mySite',
name: 'mySite',
type: 'constant',
criteria: {
name: 'sites'
}
},
{
label: 'searchSite',
type: 'search',
method: 'searchModel.getFoundationSitesByText',
typeaheadTemplate: 'views/search/search-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{name: value, siteGroup: siteGroupName, region: regionName, companyName: companyName}'
}
]
}
];
var assetListExplorerFilter = _.cloneDeep(assetGraphExplorerFilter);
assetListExplorerFilter.unshift({
name: 'relationshipType',
label: 'relationshipType',
options: []
});
angular.module('myitsmApp').constant('appConfiguration', {
search: {
filter: [
{
name: 'searchCompanies',
label: 'searchCompanies',
options: [
{
label: 'searchCompanies',
type: 'search',
method: 'searchModel.getListOfCompaniesByText',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{name: value}'
}
]
},
{
name: 'createDateRange',
label: 'createDate',
options: [
{
name: 'createDatePast24',
label: 'past24',
type: 'date',
criteria: {
name: 'createDateRange',
defaultValues: {
startDate: 'moment().subtract(1, "days").valueOf()',
endDate: 'moment().valueOf()'
},
value: {}
}
},
{
name: 'createDatePast48',
label: 'past48',
type: 'date',
criteria: {
name: 'createDateRange',
defaultValues: {
startDate: 'moment().subtract(2, "days").valueOf()',
endDate: 'moment().valueOf()'
},
value: {}
}
},
{
name: 'createDatePastWeek',
label: 'pastWeek',
type: 'date',
criteria: {
name: 'createDateRange',
defaultValues: {
startDate: 'moment().subtract(7, "days").valueOf()',
endDate: 'moment().valueOf()'
},
value: {}
}
},
{
name: 'createDateCustomRange',
label: 'customRange',
type: 'timeStampRange',
format: 'mediumDate',
startDatePicker: {
date: new Date()
},
endDatePicker: {
date: new Date()
},
criteria: {
name: 'createDateRange'
}
}
]
},
{
name: 'modifiedDateRange',
label: 'lastModifiedDate',
options: [
{
name: 'modifiedDatePast24',
label: 'past24',
type: 'date',
criteria: {
name: 'modifiedDateRange',
defaultValues: {
startDate: 'moment().subtract(1, "days").valueOf()',
endDate: 'moment().valueOf()'
},
value: {}
}
},
{
name: 'modifiedDatePast48',
label: 'past48',
type: 'date',
criteria: {
name: 'modifiedDateRange',
defaultValues: {
startDate: 'moment().subtract(2, "days").valueOf()',
endDate: 'moment().valueOf()'
},
value: {}
}
},
{
name: 'modifiedDatePastWeek',
label: 'pastWeek',
type: 'date',
criteria: {
name: 'modifiedDateRange',
defaultValues: {
startDate: 'moment().subtract(7, "days").valueOf()',
endDate: 'moment().valueOf()'
},
value: {}
}
},
{
name: 'modifiedDateCustomRange',
label: 'customRange',
type: 'timeStampRange',
format: 'mediumDate',
startDatePicker: {
date: new Date()
},
endDatePicker: {
date: new Date()
},
criteria: {
name: 'modifiedDateRange'
}
}
]
},
{
name: 'types',
label: 'types',
options: [
{
name: 'asset',
label: 'asset',
type: 'constant',
category: 'asset',
targetAreas: ['all'],
criteria: {
name: 'types',
value: ['asset']
}
},
{
name: 'change',
label: 'change',
type: 'constant',
category: 'tickets',
targetAreas: ['ticketKnowledge', 'tickets', 'all'],
criteria: {
name: 'types',
value: ['change']
}
},
{
name: 'release',
label: 'release',
type: 'constant',
category: 'tickets',
targetAreas: ['ticketKnowledge', 'tickets', 'all'],
criteria: {
name: 'types',
value: ['release']
}
},
{
name: 'activity',
label: 'activity',
type: 'constant',
category: 'tickets',
targetAreas: ['ticketKnowledge', 'tickets', 'all'],
criteria: {
name: 'types',
value: ['activity']
}
},
{
name: 'incident',
label: 'incident',
type: 'constant',
category: 'tickets',
targetAreas: ['ticketKnowledge', 'tickets', 'all'],
criteria: {
name: 'types',
value: ['incident']
}
},
{
name: 'knowledge',
label: 'knowledge',
type: 'constant',
category: 'knowledge',
targetAreas: ['ticketKnowledge', 'all'],
criteria: {
name: 'types',
value: ['knowledge']
}
},
{
name: 'knownerror',
label: 'knownerror',
type: 'constant',
category: 'knownerror',
targetAreas: ['ticketKnowledge', 'tickets', 'all'],
criteria: {
name: 'types',
value: ['knownerror']
}
},
{
name: 'person',
label: 'person',
type: 'constant',
category: 'person',
targetAreas: ['all'],
criteria: {
name: 'types',
value: ['person']
}
},
{
name: 'problem',
label: 'problem',
type: 'constant',
category: 'problem',
targetAreas: ['ticketKnowledge', 'tickets', 'all'],
criteria: {
name: 'types',
value: ['problem']
}
},
{
name: 'request',
label: 'request',
type: 'constant',
category: 'tickets',
targetAreas: ['ticketKnowledge', 'tickets', 'all'],
criteria: {
name: 'types',
value: ['request']
}
},
{
name: 'sberequest',
label: 'sberequest',
type: 'constant',
category: 'tickets',
targetAreas: ['ticketKnowledge', 'tickets', 'all'],
criteria: {
name: 'types',
value: ['sberequest']
}
},
{
name: 'task',
label: 'task',
type: 'constant',
category: 'tickets',
targetAreas: ['ticketKnowledge', 'tickets', 'all'],
criteria: {
name: 'types',
value: ['task']
}
},
{
name: 'workorder',
label: 'workOrder',
type: 'constant',
category: 'tickets',
targetAreas: ['ticketKnowledge', 'tickets', 'all'],
criteria: {
name: 'types',
value: ['workorder']
}
}
]
}
],
categories: {
tickets: {
name: 'tickets',
totalCount: 0,
types: ['incident', 'workorder', 'task', 'request', 'sberequest', 'change', 'release', 'knownerror', 'problem', 'activity']
},
knowledge: {
name: 'knowledge',
types: ['knowledge']
},
person: {
name: 'person',
totalCount: 0,
types: ['person']
},
asset: {
name: 'asset',
totalCount: 0,
types: ['asset']
}
},
targetAreas: [
{
name: "tickets",
label: "TargetAreas.tickets",
types: ['tickets'],
selected: false
}, {
name: "knowledge",
label: "TargetAreas.knowledge",
types: ['knowledge'],
selected: false
}, {
name: "people",
label: "TargetAreas.people",
types: ['person'],
selected: false
}, {
name: "ticketKnowledge",
label: "TargetAreas.ticketKnowledge",
types: ['tickets', 'knowledge'],
selected: true
}, {
name: "asset",
label: "TargetAreas.asset",
types: ['asset'],
selected: false
}, {
name: "all",
label: "TargetAreas.all",
types: ['all'],
selected: false
}
]
},
ticketConsole: {
columns: {
assignee: {
displayName: 'assignee',
attributeName: 'assigneeFullName',
field: 'assignee.fullName',
visible: true,
order: 6,
name: 'assignee'
},
assigneeGroup: {
displayName: 'assigneeGroup',
attributeName: 'supportGroup',
field: 'supportGroup.name',
visible: false,
name: 'assigneeGroup'
},
company: {
displayName: 'company',
attributeName: 'company',
field: 'company.name',
visible: false,
name: 'company'
},
customerCompany: {
displayName: 'customerCompany',
attributeName: 'customerCompany',
field: 'customer.company.name',
visible: false,
name: 'customerCompany'
},
customerName: {
displayName: 'customerName',
attributeName: 'customerFullName',
field: 'customer.fullName',
visible: true,
order: 5,
name: 'customerName'
},
customerEmail: {
displayName: 'customerEmail',
attributeName: 'customerEmail',
field: 'customer.email',
visible: false,
name: 'customerEmail'
},
customerSite: {
displayName: 'customerSite',
attributeName: 'customerSite',
field: 'customer.site.name',
visible: false,
name: 'customerSite'
},
customerOrganization: {
displayName: 'customerOrganization',
attributeName: 'customerOrganization',
field: 'customer.organization',
visible: false,
name: 'customerOrganization'
},
escalated: {
displayName: 'escalated',
attributeName: 'isEscalated',
field: 'isEscalated',
visible: false,
name: 'escalated',
cellFilter: 'tcCellEscalated'
},
id: {
displayName: 'id',
attributeName: 'displayId',
field: 'displayId',
visible: true,
order: 2,
pinned: true,
name: 'id'
},
impact: {
displayName: 'impact',
attributeName: 'impact',
field: 'impact',
visible: false,
name: 'impact',
cellFilter: 'localizeLabel: "impact":row.entity.type'
},
lastModifiedDate: {
displayName: 'lastModifiedDate',
attributeName: 'modifiedDate',
field: 'modifiedDate',
visible: true,
order: 9,
name: 'lastModifiedDate',
cellFilter: 'date:"medium"'
},
parentRequestId: {
displayName: 'parentRequestId',
attributeName: 'parentDisplayId',
field: 'parentId',
visible: false,
name: 'parentRequestId'
},
priority: {
displayName: 'priority',
attributeName: 'priority',
field: 'priority',
visible: true,
order: 1,
name: 'priority',
cellTemplate: '<div class=\"ngCenteredCellText\" ng-class=\"col.colIndex()\" ng-bind-html="COL_FIELD | tcCellPriority:row.entity.type"></div>',
width: 100
},
productName: {
displayName: 'productName',
attributeName: 'productName',
field: 'productName',
visible: false,
name: 'productName'
},
ticketType: {
displayName: 'ticketType',
attributeName: 'type',
field: 'type',
visible: false,
name: 'ticketType',
cellFilter: 'tcCellType'
},
scheduledStartDate: {
displayName: 'scheduledStartDate',
attributeName: 'scheduledStartDate',
field: 'scheduledStartDate',
visible: false,
name: 'scheduledStartDate',
cellFilter: 'date:"medium"'
},
service: {
displayName: 'service',
attributeName: 'impactedServiceName',
field: 'impactedService.name',
visible: false,
name: 'service'
},
slaStatus: {
displayName: 'slaStatus',
attributeName: 'slaStatus',
field: 'slaStatus',
visible: true,
order: 4,
name: 'slaStatus',
cellFilter: 'tcCellSlaStatus'
},
status: {
displayName: 'status',
attributeName: 'status',
field: 'status.value',
visible: true,
order: 8,
name: 'status',
cellFilter: 'localizeLabel: "status":row.entity.type'
},
statusReason: {
displayName: 'statusReason',
attributeName: 'statusReason',
field: 'status.reason',
visible: false,
name: 'statusReason'
},
submitDate: {
displayName: 'submitDate',
attributeName: 'submitDate',
field: 'submitDate',
visible: false,
name: 'submitDate',
cellFilter: 'date:"medium"'
},
summary: {
displayName: 'summary',
attributeName: 'summary',
field: 'summary',
visible: true,
order: 7,
width: 350,
name: 'summary'
},
targetDate: {
displayName: 'targetDate',
attributeName: 'targetDate',
field: 'targetDate',
visible: true,
order: 3,
name: 'targetDate',
cellTemplate: '<div class=\"ngCellText\" ng-class=\"col.colIndex()\"><span ng-cell-text class=\"{{(row.getProperty(col.field) | haveDatePassed) ? \'ngCellDatePassed\' : \'\'}}\">{{row.getProperty(col.field) | tcCellSLA}}</span></div>'
},
urgency: {
displayName: 'urgency',
attributeName: 'urgency',
field: 'urgency',
visible: false,
name: 'urgency',
cellFilter: 'localizeLabel: "urgency":row.entity.type'
},
// New general columns added in 1.2
assigneeCompany: {
displayName: 'assigneeCompany',
attributeName: 'assigneeCompany',
field: 'assignee.company.name',
visible: false,
name: 'assigneeCompany'
},
customerDepartment: {
displayName: 'customerDepartment',
attributeName: 'customerDepartment',
field: 'customer.department',
visible: false,
name: 'customerDepartment'
},
customerLastName: {
displayName: 'customerLastName',
attributeName: 'customerLastName',
field: 'customer.lastName',
visible: false,
name: 'customerLastName'
},
scheduledEndDate: {
displayName: 'scheduledEndDate',
attributeName: 'scheduledEndDate',
field: 'scheduledEndDate',
visible: false,
name: 'scheduledEndDate',
cellFilter: 'date:"medium"'
},
actualEndDate: {
displayName: 'actualEndDate',
attributeName: 'actualEndDate',
field: 'actualEndDate',
visible: false,
name: 'actualEndDate',
cellFilter: 'date:"medium"'
},
actualStartDate: {
displayName: 'actualStartDate',
attributeName: 'actualStartDate',
field: 'actualStartDate',
visible: false,
name: 'actualStartDate',
cellFilter: 'date:"medium"'
},
completedDate: {
displayName: 'completedDate',
attributeName: 'completedDate',
field: 'completedDate',
visible: false,
name: 'completedDate',
cellFilter: 'date:"medium"'
},
opCat1: {
displayName: 'opCat1',
attributeName: 'operationCategoryTier1',
field: 'categories.operationCategoryTier1',
visible: false,
name: 'opCat1'
},
opCat2: {
displayName: 'opCat2',
attributeName: 'operationCategoryTier2',
field: 'categories.operationCategoryTier2',
visible: false,
name: 'opCat2'
},
opCat3: {
displayName: 'opCat3',
attributeName: 'operationCategoryTier3',
field: 'categories.operationCategoryTier3',
visible: false,
name: 'opCat3'
},
productCat1: {
displayName: 'productCat1',
attributeName: 'productCategoryTier1',
field: 'categories.productCategoryTier1',
visible: false,
name: 'productCat1'
},
productCat2: {
displayName: 'productCat2',
attributeName: 'productCategoryTier2',
field: 'categories.productCategoryTier2',
visible: false,
name: 'productCat2'
},
productCat3: {
displayName: 'productCat3',
attributeName: 'productCategoryTier3',
field: 'categories.productCategoryTier3',
visible: false,
name: 'productCat3'
},
submittedBy: {
displayName: 'submittedBy',
attributeName: 'submittedBy',
field: 'submittedBy',
visible: false,
name: 'submittedBy'
},
vendorGroup: {
displayName: 'vendorGroup',
attributeName: 'vendorGroupName',
field: 'vendorGroup.name',
visible: false,
name: 'vendorGroup'
},
vendorTicketNumber: {
displayName: 'vendorTicketNumber',
attributeName: 'vendorTicketNumber',
field: 'vendorTicketNumber',
visible: false,
name: 'vendorTicketNumber'
},
contact: {
displayName: 'contact',
attributeName: 'contact',
field: 'contact.fullName',
visible: false,
name: 'contact'
},
// Incident specific columns
resolvedDate: {
displayName: 'resolvedDate',
attributeName: 'resolvedDate',
field: 'resolvedDate',
visible: false,
ticketType: ['incident'],
name: 'resolvedDate',
cellFilter: 'date:"medium"'
},
requiredResolutionDate: {
displayName: 'requiredResolutionDate',
attributeName: 'requiredResolutionDate',
field: 'requiredResolutionDate',
visible: false,
ticketType: ['incident'],
name: 'requiredResolutionDate',
cellFilter: 'date:"medium"'
},
respondedDate: {
displayName: 'respondedDate',
attributeName: 'respondedDate',
field: 'respondedDate',
visible: false,
ticketType: ['incident'],
name: 'respondedDate',
cellFilter: 'date:"medium"'
},
incidentType: {
displayName: 'incidentType',
attributeName: 'incidentType',
field: 'incidentType',
visible: false,
ticketType: ['incident'],
name: 'incidentType',
cellFilter: 'localizeLabel: "serviceType":row.entity.type'
},
owner: {
displayName: 'owner',
attributeName: 'ownerName',
field: 'owner.fullName',
visible: false,
ticketType: ['incident'],
name: 'owner'
},
ownerCompany: {
displayName: 'ownerCompany',
attributeName: 'ownerCompany',
field: 'owner.company.name',
visible: false,
ticketType: ['incident'],
name: 'ownerCompany'
},
ownerGroup: {
displayName: 'ownerGroup',
attributeName: 'ownerGroup',
field: 'ownerGroup.name',
visible: false,
ticketType: ['incident'],
name: 'ownerGroup'
},
reportedSource: {
displayName: 'reportedSource',
attributeName: 'reportedSource',
field: 'reportedSource',
visible: false,
ticketType: ['incident'],
name: 'reportedSource'
},
// Task specific columns
taskType: {
displayName: 'taskType',
attributeName: 'taskType',
field: 'taskType',
visible: false,
ticketType: ['task'],
name: 'taskType'
},
// Work order specific columns
requestManager: {
displayName: 'requestManager',
attributeName: 'requestManager',
field: 'requestManager.fullName',
visible: false,
ticketType: ['workorder'],
name: 'requestManager'
},
requestManagerCompany: {
displayName: 'requestManagerCompany',
attributeName: 'requestManagerCompany',
field: 'requestManager.company.name',
visible: false,
ticketType: ['workorder'],
name: 'requestManagerCompany'
},
requestManagerGroup: {
displayName: 'requestManagerGroup',
attributeName: 'requestManagerGroup',
field: 'requestManagerGroup.name ',
visible: false,
ticketType: ['workorder'],
name: 'requestManagerGroup'
},
workorderType: {
displayName: 'workorderType',
attributeName: 'workOrderType',
field: 'workOrderType',
visible: false,
ticketType: ['workorder'],
name: 'workorderType'
},
// Change specific columns
changeClass: {
displayName: 'changeClass',
attributeName: 'changeClass',
field: 'changeClass',
visible: false,
ticketType: ['change'],
name: 'changeClass',
cellFilter: 'localizeLabel: "timing":row.entity.type'
},
changeManager: {
displayName: 'changeManager',
attributeName: 'changeManager',
field: 'changeManager.fullName',
visible: false,
ticketType: ['change'],
name: 'changeManager'
},
changeManagerCompany: {
displayName: 'changeManagerCompany',
attributeName: 'changeManagerCompany',
field: 'changeManager.company.name',
visible: false,
ticketType: ['change'],
name: 'changeManagerCompany'
},
changeManagerGroup: {
displayName: 'changeManagerGroup',
attributeName: 'changeManagerGroup',
field: 'changeManagerGroup.name',
visible: false,
ticketType: ['change'],
name: 'changeManagerGroup'
},
changeReason: {
displayName: 'changeReason',
attributeName: 'changeReason',
field: 'changeReason',
visible: false,
ticketType: ['change'],
name: 'changeReason',
cellFilter: 'localizeLabel: "changeReason":row.entity.type'
},
riskLevel: {
displayName: 'riskLevel',
attributeName: 'riskLevel',
field: 'riskLevel',
visible: false,
ticketType: ['change'],
name: 'riskLevel',
cellFilter: 'localizeLabel: "riskLevel":row.entity.type'
},
problemCoordinator: {
displayName: 'problemCoordinator',
attributeName: 'problemCoordinator',
field: 'problemCoordinator.fullName',
visible: false,
ticketType: ['problem', 'knownerror'],
name: 'problemCoordinator'
},
problemCoordinatorGroup: {
displayName: 'problemCoordinatorGroup',
attributeName: 'problemCoordinatorGroup',
field: 'problemCoordinatorGroup.name',
visible: false,
ticketType: ['problem', 'knownerror'],
name: 'problemCoordinatorGroup'
},
investigationDriver: {
displayName: 'investigationDriver',
attributeName: 'investigationDriver',
field: 'investigationDriver',
visible: false,
ticketType: ['problem'],
name: 'investigationDriver',
cellFilter: 'localizeLabel: "investigationDriver":row.entity.type'
},
// Rlease Specific Columns
businessJustification: {
displayName: 'businessJustification',
attributeName: 'businessJustification',
field: 'businessJustification',
visible: false,
ticketType: ['release'],
name: 'businessJustification',
cellFilter: 'localizeLabel: "businessJustification":row.entity.type'
},
releaseCoordinator: {
displayName: 'releaseCoordinator',
attributeName: 'releaseCoordinator',
field: 'releaseCoordinator.fullName',
visible: true,
ticketType: ['release'],
name: 'releaseCoordinator'
},
releaseCoordinatorGroup: {
displayName: 'releaseCoordinatorGroup',
attributeName: 'releaseCoordinatorGroup',
field: 'releaseCoordinatorGroup.name',
visible: true,
ticketType: ['release'],
name: 'releaseCoordinatorGroup'
},
deploymentStartDate: {
displayName: 'deploymentStartDate',
attributeName: 'deploymentStartDate',
field: 'deploymentStartDate',
visible: false,
ticketType: ['release'],
name: 'deploymentStartDate',
cellFilter: 'date:"medium"'
},
deploymentEndDate: {
displayName: 'deploymentEndDate',
attributeName: 'deploymentEndDate',
field: 'deploymentEndDate',
visible: false,
ticketType: ['release'],
name: 'deploymentEndDate',
cellFilter: 'date:"medium"'
},
milestone: {
displayName: 'milestone',
attributeName: 'milestone',
field: 'milestone',
visible: false,
ticketType: ['release'],
name: 'milestone',
cellFilter: 'localizeLabel: "milestone":row.entity.type'
},
releaseType: {
displayName: 'releaseType',
attributeName: 'releaseType',
field: 'releaseType',
visible: false,
ticketType: ['release'],
name: 'releaseType',
cellFilter: 'localizeLabel: "type":row.entity.type'
},
requestedAvailabilityDate: {
displayName: 'requestedAvailabilityDate',
attributeName: 'requestedAvailabilityDate',
field: 'requestedAvailabilityDate',
visible: false,
ticketType: ['release'],
name: 'requestedAvailabilityDate'
}
},
filter: [
{
name: 'ticketTypes',
label: 'ticketType',
expanded: true,
options: [
{
name: 'incident',
label: 'incident',
type: 'constant',
criteria: {
name: 'ticketTypes',
value: ['incident']
}
},
{
name: 'request',
label: 'request',
type: 'constant',
criteria: {
name: 'ticketTypes',
value: ['request']
}
},
{
name: 'task',
label: 'task',
type: 'constant',
criteria: {
name: 'ticketTypes',
value: ['task']
}
},
{
name: 'workorder',
label: 'workOrder',
type: 'constant',
criteria: {
name: 'ticketTypes',
value: ['workorder']
}
},
{
name: 'change',
label: 'change',
type: 'constant',
criteria: {
name: 'ticketTypes',
value: ['change']
}
},
{
name: 'knownerror',
label: 'knownerror',
type: 'constant',
criteria: {
name: 'ticketTypes',
value: ['knownerror']
}
},
{
name: 'problem',
label: 'problem',
type: 'constant',
criteria: {
name: 'ticketTypes',
value: ['problem']
}
},
{
name: 'release',
label: 'release',
type: 'constant',
criteria: {
name: 'ticketTypes',
value: ['release']
}
}
]
},
{
name: 'affectedBusinessServices',
label: 'affectedBusinessService',
ticketType: ['change', 'incident', 'workorder', 'release'],
options: [
{
label: 'searchBusinessService',
type: 'search',
method: 'searchModel.getAffectedBusinessService',
typeaheadTemplate: 'views/console/affected-service-typeahead-template.html',
fields: {
key: 'name',
value: 'reconciliationId'
},
valueFormat: '{reconciliationId: value}'
}
]
},
{
name: 'approvalStatuses',
label: 'approvalStatus',
ticketType: ['change'],
options: [
{
name: 'changesWaitingForApproval',
label: 'changesWaitingForApproval',
type: 'constant',
criteria: {
name: 'approvalStatuses',
value: ['inApproval']
}
}
]
},
{
name: 'approvedBy',
label: 'approvedBy',
showLabelInPill: true,
ticketType: ['change'],
options: [
{
name: 'me',
label: 'me',
type: 'constant',
criteria: {
name: 'approvedBy'
}
},
{
label: 'searchApprover',
type: 'search',
method: 'personModel.getListOfPersonsByText',
typeaheadTemplate: 'views/console/search-person-typeahead-template.html',
fields: {
key: 'fullName',
value: 'loginId'
},
valueFormat: '{loginId: value}'
}
]
},
{
name: 'approvalAssignment',
label: 'toBeApproved',
ticketType: ['change'],
showLabelInPill: true,
options: [
{
name: 'me',
label: 'me',
type: 'constant',
criteria: {
name: 'approvalAssignment'
}
},
{
label: 'searchApprover',
type: 'search',
method: 'personModel.getListOfPersonsByText',
typeaheadTemplate: 'views/console/search-person-typeahead-template.html',
fields: {
key: 'fullName',
value: 'loginId'
},
valueFormat: '{loginId: value}'
},
{
name: 'myGroup',
label: 'myGroup',
type: 'constant',
filterName: 'approvalAssignment',
criteria: {
name: 'approvalAssignmentGroup'
}
}
]
},
{
name: 'assignedSupportGroups',
label: 'assigneeGroup',
showLabelInPill: true,
options: [
{
name: 'myGroup',
label: 'myGroup',
type: 'constant',
criteria: {
name: 'assignedSupportGroups'
}
},
{
label: 'searchAssigneeGroup',
type: 'search',
method: 'searchModel.getListOfSupportGroupsByText',
typeaheadTemplate: 'views/console/general-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{name: value}'
}
]
},
{
name: 'assignees',
label: 'assignee',
showLabelInPill: true,
options: [
{
name: 'me',
label: 'me',
type: 'constant',
criteria: {
name: 'assignees'
}
},
{
name: 'unassigned',
label: 'unassigned',
type: 'constant',
criteria: {
name: 'assignees',
value: [
{ loginId: '' }
]
}
},
{
label: 'searchAssignee',
type: 'search',
method: 'personModel.getListOfPersonsByText',
typeaheadTemplate: 'views/console/search-person-typeahead-template.html',
fields: {
key: 'fullName',
value: 'loginId'
},
valueFormat: '{loginId: value}'
}
]
},
{
name: 'changeClass',
label: 'changeClass',
ticketType: ['change'],
options: []
},
{
name: 'changeManager',
label: 'changeManager',
showLabelInPill: true,
ticketType: ['change'],
options: [
{
name: 'changeManagerMe',
label: 'me',
type: 'constant',
criteria: {
name: 'changeManager'
}
},
{
name: 'changeManagerUnassigned',
label: 'unassigned',
type: 'constant',
criteria: {
name: 'changeManager',
value: [
{ loginId: '' }
]
}
},
{
label: 'searchAssignee',
type: 'search',
method: 'personModel.getListOfChangeManagerByText',
typeaheadTemplate: 'views/console/search-person-typeahead-template.html',
fields: {
key: 'fullName',
value: 'loginId'
},
valueFormat: '{loginId: value}'
}
]
},
{
name: 'changeManagerGroup',
label: 'changeManagerGroup',
showLabelInPill: true,
ticketType: ['change'],
options: [
{
name: 'myGroup',
label: 'myGroup',
type: 'constant',
criteria: {
name: 'changeManagerGroup'
}
},
{
label: 'searchAssigneeGroup',
type: 'search',
method: 'searchModel.getChangeManagerGroupsByText',
typeaheadTemplate: 'views/console/general-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{name: value}'
}
]
},
{
name: 'changeReason',
label: 'changeReason',
ticketType: ['change'],
options: []
},
{
name: 'companies',
label: 'company',
options: [
{
label: 'searchCompany',
type: 'search',
method: 'searchModel.getListOfCompaniesByText',
typeaheadTemplate: 'views/console/general-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{name: value}'
}
]
},
{
name: 'createDateRanges',
label: 'createDate',
showLabelInPill: true,
options: [
{
name: 'createDatePast24',
label: 'past24',
type: 'date',
defaultValues: {
start: 'moment().subtract(1, "days").valueOf()',
end: 'moment().valueOf()'
},
criteria: {
name: 'createDateRanges'
}
},
{
name: 'createDatePast48',
label: 'past48',
type: 'date',
defaultValues: {
start: 'moment().subtract(2, "days").valueOf()',
end: 'moment().valueOf()'
},
criteria: {
name: 'createDateRanges'
}
},
{
name: 'createDatePastWeek',
label: 'pastWeek',
type: 'date',
defaultValues: {
start: 'moment().subtract(7, "days").valueOf()',
end: 'moment().valueOf()'
},
criteria: {
name: 'createDateRanges'
}
},
{
name: 'createDateCustomRange',
label: 'customRange',
type: 'timeStampRange',
format: 'mediumDate',
startDatePicker: {
date: new Date()
},
endDatePicker: {
date: new Date()
},
criteria: {
name: 'createDateRanges'
}
}
]
},
{
name: 'deploymentStartDate',
label: 'deploymentStartDate',
showLabelInPill: true,
ticketType: ['release'],
options: [
{
name: 'deploymentStartDateNext24',
label: 'next24',
type: 'date',
order: 1,
defaultValues: {
start: 'moment().valueOf()',
end: 'moment().add(1, "days").valueOf()'
},
criteria: {
name: 'deploymentStartDate'
}
},
{
name: 'deploymentStartDateNextWeek',
label: 'nextWeek',
type: 'date',
order: 2,
defaultValues: {
start: 'moment().valueOf()',
end: 'moment().add(7, "days").valueOf()'
},
criteria: {
name: 'deploymentStartDate'
}
},
{
name: 'deploymentStartDateNextMonth',
label: 'nextMonth',
type: 'date',
order: 3,
defaultValues: {
start: 'moment().valueOf()',
end: 'moment().add(30, "days").valueOf()'
},
criteria: {
name: 'deploymentStartDate'
}
},
{
name: 'deploymentStartDateCustomRange',
label: 'customRange',
type: 'timeStampRange',
format: 'mediumDate',
startDatePicker: {
date: new Date()
},
endDatePicker: {
date: new Date()
},
criteria: {
name: 'deploymentStartDate'
}
}
]
},
{
name: 'deploymentEndDate',
label: 'deploymentEndDate',
showLabelInPill: true,
ticketType: ['release'],
options: [
{
name: 'deploymentEndDateNext24',
label: 'next24',
type: 'date',
order: 1,
defaultValues: {
start: 'moment().valueOf()',
end: 'moment().add(1, "days").valueOf()'
},
criteria: {
name: 'deploymentEndDate'
}
},
{
name: 'deploymentEndDateNextWeek',
label: 'nextWeek',
type: 'date',
order: 2,
defaultValues: {
start: 'moment().valueOf()',
end: 'moment().add(7, "days").valueOf()'
},
criteria: {
name: 'deploymentEndDate'
}
},
{
name: 'deploymentEndDateNextMonth',
label: 'nextMonth',
type: 'date',
order: 3,
defaultValues: {
start: 'moment().valueOf()',
end: 'moment().add(30, "days").valueOf()'
},
criteria: {
name: 'deploymentEndDate'
}
},
{
name: 'deploymentEndDateCustomRange',
label: 'customRange',
type: 'timeStampRange',
format: 'mediumDate',
startDatePicker: {
date: new Date()
},
endDatePicker: {
date: new Date()
},
criteria: {
name: 'deploymentEndDate'
}
}
]
},
{
name: 'investigationDrivers',
label: 'investigationDriver',
showLabelInPill: true,
ticketType: ['problem'],
options: []
},
{
name: 'keywords',
label: 'keywords',
options: [
{
label: 'searchKeywords',
type: 'search',
subtype: 'keyword'
}
]
},
{
name: 'modifiedDateRanges',
label: 'lastModifiedDate',
showLabelInPill: true,
options: [
{
name: 'modifiedDatePast24',
label: 'past24',
type: 'date',
defaultValues: {
start: 'moment().subtract(1, "days").valueOf()',
end: 'moment().valueOf()'
},
criteria: {
name: 'modifiedDateRanges'
}
},
{
name: 'modifiedDatePast48',
label: 'past48',
type: 'date',
defaultValues: {
start: 'moment().subtract(2, "days").valueOf()',
end: 'moment().valueOf()'
},
criteria: {
name: 'modifiedDateRanges'
}
},
{
name: 'modifiedDatePastWeek',
label: 'pastWeek',
type: 'date',
defaultValues: {
start: 'moment().subtract(7, "days").valueOf()',
end: 'moment().valueOf()'
},
criteria: {
name: 'modifiedDateRanges'
}
},
{
name: 'modifiedDateCustomRange',
label: 'customRange',
type: 'timeStampRange',
format: 'mediumDate',
startDatePicker: {
date: new Date()
},
endDatePicker: {
date: new Date()
},
criteria: {
name: 'modifiedDateRanges'
}
}
]
},
{
name: 'milestone',
label: 'milestones',
ticketType: ['release'],
options: []
},
{
name: 'organizations',
label: 'organization',
ticketType: ['incident', 'request', 'task', 'workorder', 'change', 'knownerror', 'problem'],
options: [
{
name: 'myOrganization',
label: 'myOrganization',
type: 'constant',
criteria: {
name: 'organizations'
}
},
{
label: 'searchOrganization',
type: 'search',
method: 'searchModel.getOrganizationsByText',
typeaheadTemplate: 'views/console/general-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: 'value'
}
]
},
{
name: 'priorities',
label: 'priority',
options: [
{
name: 'critical',
label: 'critical',
type: 'constant',
order: 10,
criteria: {
name: 'priorities',
value: ['Critical']
}
},
{
name: 'high',
label: 'high',
type: 'constant',
order: 20,
criteria: {
name: 'priorities',
value: ['High']
}
},
{
name: 'medium',
label: 'medium',
type: 'constant',
order: 30,
criteria: {
name: 'priorities',
value: ['Medium']
}
},
{
name: 'low',
label: 'low',
type: 'constant',
order: 40,
criteria: {
name: 'priorities',
value: ['Low']
}
}
]
},
{
name: 'problemCoordinators',
label: 'problemCoordinator',
showLabelInPill: true,
ticketType: ['problem', 'knownerror'],
options: [
{
name: 'me',
label: 'me',
type: 'constant',
criteria: {
name: 'problemCoordinators'
}
},
{
name: 'unassigned',
label: 'unassigned',
type: 'constant',
criteria: {
name: 'problemCoordinators',
value: [
{ loginId: '' }
]
}
},
{
label: 'searchAssignee',
type: 'search',
method: 'personModel.getListOfProblemCoordinatorByText',
typeaheadTemplate: 'views/console/search-person-typeahead-template.html',
fields: {
key: 'fullName',
value: 'loginId'
},
valueFormat: '{loginId: value}'
}
]
},
{
name: 'problemCoordinatorGroups',
label: 'problemCoordinatorGroup',
showLabelInPill: true,
ticketType: ['problem', 'knownerror'],
options: [
{
name: 'myGroup',
label: 'myGroup',
type: 'constant',
criteria: {
name: 'problemCoordinatorGroups'
}
},
{
label: 'searchAssigneeGroup',
type: 'search',
method: 'searchModel.getProblemCoordinatorGroupsByText',
typeaheadTemplate: 'views/console/general-typeahead-template.html',
fields: {
key: 'name',
value: 'id'
},
valueFormat: '{id: value}'
}
]
},
{
name: 'releaseCoordinator',
label: 'releaseCoordinator',
showLabelInPill: true,
ticketType: ['release'],
options: [
{
name: 'me',
label: 'me',
type: 'constant',
criteria: {
name: 'releaseCoordinator'
}
},
{
name: 'unassigned',
label: 'unassigned',
type: 'constant',
criteria: {
name: 'releaseCoordinator',
value: [
{ loginId: '' }
]
}
},
{
label: 'searchAssignee',
type: 'search',
method: 'personModel.getListOfReleaseCoordinatorByText',
typeaheadTemplate: 'views/console/search-person-typeahead-template.html',
fields: {
key: 'fullName',
value: 'loginId'
},
valueFormat: '{loginId: value}'
}
]
},
{
name: 'releaseCoordinatorGroup',
label: 'releaseCoordinatorGroup',
showLabelInPill: true,
ticketType: ['release'],
options: [
{
name: 'myGroup',
label: 'myGroup',
type: 'constant',
criteria: {
name: 'releaseCoordinatorGroup'
}
},
{
label: 'searchAssigneeGroup',
type: 'search',
method: 'searchModel.getReleaseCoordinatorGroupsByText',
typeaheadTemplate: 'views/console/general-typeahead-template.html',
fields: {
key: 'name',
value: 'id'
},
valueFormat: '{id: value}'
}
]
},
{
name: 'riskLevel',
label: 'riskLevel',
ticketType: ['change', 'release'],
options: []
},
{
name: 'scheduledStartDates',
label: 'scheduledStartDates',
showLabelInPill: true,
ticketType: ['change', 'task', 'workorder', 'release'],
options: [
{
name: 'changeStartNext24',
label: 'next24',
type: 'date',
defaultValues: {
start: 'moment().valueOf()',
end: 'moment().add(1, "days").valueOf()'
},
criteria: {
name: 'scheduledStartDates'
}
},
{
name: 'changeStartNext48',
label: 'next48',
type: 'date',
defaultValues: {
start: 'moment().valueOf()',
end: 'moment().add(2, "days").valueOf()'
},
criteria: {
name: 'scheduledStartDates'
}
},
{
name: 'changeStartNextWeek',
label: 'nextWeek',
type: 'date',
defaultValues: {
start: 'moment().valueOf()',
end: 'moment().add(7, "days").valueOf()'
},
criteria: {
name: 'scheduledStartDates'
}
},
{
name: 'changeStartCustomRange',
label: 'customRange',
type: 'timeStampRange',
format: 'mediumDate',
startDatePicker: {
date: null
},
endDatePicker: {
date: null
},
criteria: {
name: 'scheduledStartDates'
}
}
]
},
{
name: 'scheduledEndDates',
label: 'scheduledEndDates',
showLabelInPill: true,
ticketType: ['change', 'task', 'workorder', 'release'],
options: [
{
name: 'changeEndNext24',
label: 'next24',
type: 'date',
defaultValues: {
start: 'moment().valueOf()',
end: 'moment().add(1, "days").valueOf()'
},
criteria: {
name: 'scheduledEndDates'
}
},
{
name: 'changeEndNext48',
label: 'next48',
type: 'date',
defaultValues: {
start: 'moment().valueOf()',
end: 'moment().add(2, "days").valueOf()'
},
criteria: {
name: 'scheduledEndDates'
}
},
{
name: 'changeEndNextWeek',
label: 'nextWeek',
type: 'date',
defaultValues: {
start: 'moment().valueOf()',
end: 'moment().add(7, "days").valueOf()'
},
criteria: {
name: 'scheduledEndDates'
}
},
{
name: 'changeEndCustomRange',
label: 'customRange',
type: 'timeStampRange',
format: 'mediumDate',
startDatePicker: {
date: null
},
endDatePicker: {
date: null
},
criteria: {
name: 'scheduledEndDates'
}
}
]
},
{
name: 'sites',
label: 'site',
options: [
{
name: 'mySite',
label: 'mySite',
type: 'constant',
criteria: {
name: 'sites'
}
},
{
label: 'searchSite',
type: 'search',
method: 'searchModel.getSitesByText',
typeaheadTemplate: 'views/console/general-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{name: value}'
}
]
},
{
name: 'slmStatusMappings',
label: 'slaStatus',
ticketType: ['change', 'incident', 'workorder'],
options: [
{
name: 'slaBreached',
label: 'slaBreached',
type: 'constant',
criteria: {
name: 'slmStatusMappings',
value: ['breached']
}
},
{
name: 'withinSla',
label: 'withinSla',
type: 'constant',
criteria: {
name: 'slmStatusMappings',
value: ['withinsla']
}
},
{
name: 'noSla',
label: 'noSla',
type: 'constant',
criteria: {
name: 'slmStatusMappings',
value: ['nosla']
}
}
]
},
{
name: 'statuses',
label: 'status',
options: [
{
name: 'allOpen',
label: 'allOpen',
type: 'constant',
filterName: 'statuses',
criteria: {
name: 'statusMappings',
value: ['open'],
ticketTypes: ['workorder', 'task', 'request', 'incident', 'change', 'problem', 'knownerror', 'release']
}
},
{
name: 'allClosed',
label: 'allClosed',
type: 'constant',
filterName: 'statuses',
criteria: {
name: 'statusMappings',
value: ['close'],
ticketTypes: ['workorder', 'task', 'request', 'incident', 'change', 'problem', 'knownerror', 'release']
}
}
]
},
{
name: 'submittedBy',
label: 'submitter',
showLabelInPill: true,
options: [
{
name: 'me',
label: 'me',
type: 'constant',
criteria: {
name: 'submittedBy'
}
},
{
label: 'searchSubmitter',
type: 'search',
method: 'personModel.getListOfPersonsByText',
typeaheadTemplate: 'views/console/search-person-typeahead-template.html',
fields: {
key: 'fullName',
value: 'loginId'
},
valueFormat: '{loginId: value}'
}
]
},
{
name: 'targetDate',
label: 'targetDate',
showLabelInPill: true,
ticketType: ['release'],
options: [
{
name: 'targetDatePast24',
label: 'next24',
type: 'date',
order: 1,
defaultValues: {
start: 'moment().valueOf()',
end: 'moment().add(1, "days").valueOf()'
},
criteria: {
name: 'targetDate'
}
},
{
name: 'targetDatePastWeek',
label: 'nextWeek',
type: 'date',
order: 2,
defaultValues: {
start: 'moment().valueOf()',
end: 'moment().add(7, "days").valueOf()'
},
criteria: {
name: 'targetDate'
}
},
{
name: 'targetDatePastMonth',
label: 'nextMonth',
type: 'date',
order: 3,
defaultValues: {
start: 'moment().valueOf()',
end: 'moment().add(30, "days").valueOf()'
},
criteria: {
name: 'targetDate'
}
},
{
name: 'targetDateCustomRange',
label: 'customRange',
type: 'timeStampRange',
format: 'mediumDate',
startDatePicker: {
date: new Date()
},
endDatePicker: {
date: new Date()
},
criteria: {
name: 'targetDate'
}
}
]
}
],
ribbon: [
{
type: 'button',
icon: 'user_plus',
active: 'ribbonValidationService.isSameTypeSelected(selectedItems) && !ribbonValidationService.isServiceRequest(selectedItems) && ribbonValidationService.isSameCompanySelected(selectedItems) && !ribbonValidationService.isRelease(selectedItems)',
action: 'assign'
},
{
type: 'button',
icon: 'share',
active: 'ribbonValidationService.validateShareButton(selectedItems) && selectedItems.length < 16',
action: 'share'
},
{
type: 'button',
icon: 'star',
active: 'selectedItems.length > 0',
actions: [
{
method: 'follow',
name: 'follow'
},
{
method: 'unfollow',
name: 'unfollow'
}
]
},
{
type: 'button',
icon: 'link',
active: 'ribbonValidationService.isSameTypeSelected(selectedItems) && !ribbonValidationService.isServiceRequest(selectedItems)',
action: 'link'
},
{
type: 'button',
icon: 'pop_up',
active: 'selectedItems.length <= 10',
action: 'openInNewTab'
},
{
type: 'button',
text: 'updateStatus',
active: 'ribbonValidationService.isSameTypeSelected(selectedItems) && !ribbonValidationService.isServiceRequest(selectedItems) && ribbonValidationService.isValidChangeStatusUpdate(selectedItems) && !ribbonValidationService.isRelease(selectedItems) && !ribbonValidationService.disableBulkUpdate(selectedItems) && !ribbonValidationService.anyBypassedTasks(selectedItems)',
action: 'changeStatus'
}
],
stats: [
{
name: 'mytickets',
label: 'my',
filterSetup: [
{ filter: 'assignees', option: 'me', checkForLocale: false }
]
},
{
name: 'Critical',
label: 'critical',
filterSetup: [
{ filter: 'priorities', option: 'Critical', checkForLocale: true }
]
},
{
name: 'new',
label: 'new',
filterSetup: [
{ filter: 'createDateRanges', option: 'createDatePast24', checkForLocale: false }
]
},
{
name: 'open',
label: 'open',
filterSetup: [
{ filter: 'statuses', option: 'allOpen', checkForLocale: false }
]
},
{
name: 'total',
label: 'all'
}
],
cellFilters: {
releaseType: 'localizeLabel: "type":row.entity.type',
milestone: 'localizeLabel: "milestone":row.entity.type',
businessJustification: 'localizeLabel: "businessJustification":row.entity.type',
investigationDriver: 'localizeLabel: "investigationDriver":row.entity.type',
riskLevel: 'localizeLabel: "riskLevel":row.entity.type',
changeReason: 'localizeLabel: "changeReason":row.entity.type',
changeClass: 'localizeLabel: "timing":row.entity.type',
incidentType: 'localizeLabel: "serviceType":row.entity.type',
urgency: 'localizeLabel: "urgency":row.entity.type',
status: 'localizeLabel: "status":row.entity.type',
impact: 'localizeLabel: "impact":row.entity.type',
statusReason: 'localizeLabel: "statusReason":row.entity.type',
escalated: 'tcCellEscalated',
ticketType: 'tcCellType',
slaStatus: 'tcCellSlaStatus'
}
},
knowledgeArticle: {
visibilities: [
{
label: 'create.knowledge.visibility.everyone',
value: 'everyone'
},
{
label: 'create.knowledge.visibility.my.company',
value: 'myCompany'
},
{
label: 'create.knowledge.visibility.last.set.of.groups',
value: 'lastGroupSet',
onlyDraft: true
},
{
label: 'create.knowledge.visibility.specific.groups',
value: 'specificGroup'
}
],
categorySerializationMap: [
{
all: 'allCompanies',
primary: 'company',
additional: 'additionalCategoriesCompanies'
},
{
all: 'allSites',
primary: 'site',
additional: 'additionalCategoriesSite'
},
{
all: 'allServices',
primary: 'businessService',
additional: 'additionalCategoriesBusinessService'
},
{
all: 'allOrganizations',
primary: 'organization',
additional: 'additionalCategoriesOrganization'
},
{
all: 'allCategories',
primary: 'categorizations',
additional: 'additionalCategorization'
}
],
restrictionMap: {
assigneeEditAllowed: ['assignee'],
companyEditAllowed: ['company', 'additionalCategoriesCompanies'],
visibilitygroupsEditAllowed: ['articleVisibilityGroup'],
detailsEditAllowed: ['tags', 'categorizations', 'additionalCategoriesBusinessService', 'additionalCategoriesSite', 'additionalCategoriesOrganization', 'additionalCategorization', 'site', 'organization', 'businessService', 'language'],
internaluseEditAllowed: ['internalUse']
}
},
knowledgeConsole: {
columns: {
assignee: {
displayName: 'assignee',
attributeName: 'assignee',
field: 'assignee.fullName',
visible: true,
order: 4,
name: 'assignee'
},
assigneeGroup: {
displayName: 'assigneeGroup',
attributeName: 'assigneeGroup',
field: 'assignedGroup.name',
visible: false,
name: 'assigneeGroup'
},
author: {
displayName: 'author',
attributeName: 'author',
field: 'author.fullName',
visible: false,
name: 'author'
},
company: {
displayName: 'company',
attributeName: 'company',
field: 'company.name',
visible: false,
name: 'company'
},
createDate: {
displayName: 'createDate',
attributeName: 'createDate',
field: 'createDate',
visible: false,
name: 'createDate',
cellFilter: 'date:"medium"'
},
flagged: {
displayName: 'flagged',
attributeName: 'flagged',
field: 'flagged',
visible: true,
order: 7,
name: 'flagged',
cellFilter: 'tcCellEscalated'
},
id: {
displayName: 'id',
attributeName: 'articleId',
field: 'articleId',
visible: true,
order: 1,
pinned: true,
name: 'id'
},
internal: {
displayName: 'internal',
attributeName: 'internal',
field: 'internal',
visible: false,
name: 'internal',
cellFilter: 'tcCellEscalated'
},
keywords: {
displayName: 'keywords',
attributeName: 'keywords',
field: 'tags',
visible: false,
name: 'keywords',
sortable: false
},
language: {
displayName: 'language',
attributeName: 'language',
field: 'language',
visible: false,
name: 'language',
cellFilter: 'localizeLabel: "language":row.entity.type'
},
lastModifiedDate: {
displayName: 'lastModifiedDate',
attributeName: 'modifiedDate',
field: 'modifiedDate',
visible: true,
order: 6,
name: 'lastModifiedDate',
cellFilter: 'date:"medium"'
},
articleModifiedDate: {
displayName: 'articleModifiedDate',
attributeName: 'articleModifiedDate',
field: 'articleModifiedDate',
visible: false,
name: 'articleModifiedDate',
cellFilter: 'date:"medium"'
},
organization: {
displayName: 'organization',
attributeName: 'organization',
field: 'organization',
visible: false,
name: 'organization'
},
service: {
displayName: 'service',
attributeName: 'service',
field: 'service',
visible: false,
name: 'service'
},
status: {
displayName: 'status',
attributeName: 'status',
field: 'statusValue.value',
visible: true,
order: 3,
name: 'status',
cellFilter: 'localizeLabel: "status":row.entity.type'
},
templateName: {
displayName: 'templateName',
attributeName: 'templateName',
field: 'templateName',
visible: true,
order: 5,
name: 'templateName',
cellFilter: 'kcTemplateType'
},
title: {
displayName: 'title',
attributeName: 'title',
field: 'title',
visible: true,
order: 2,
name: 'title'
},
version: {
displayName: 'version',
attributeName: 'version',
field: 'version',
visible: false,
name: 'version'
}
},
filter: [
{
name: 'approvalStatuses',
label: 'approvalStatus',
options: [
{
name: 'waitingForApproval',
label: 'waitingForApproval',
type: 'constant',
criteria: {
name: 'approvalStatuses',
value: ['inApproval']
}
}
]
},
{
name: 'assignedSupportGroups',
label: 'assigneeGroup',
showLabelInPill: true,
options: [
{
name: 'myGroup',
label: 'myGroup',
type: 'constant',
criteria: {
name: 'assignedSupportGroups'
}
},
{
label: 'searchAssigneeGroup',
type: 'search',
method: 'searchModel.getListOfSupportGroupsByText',
typeaheadTemplate: 'views/console/general-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{name: value}'
}
]
},
{
name: 'assignees',
label: 'assignee',
showLabelInPill: true,
expanded: true,
options: [
{
name: 'me',
label: 'me',
type: 'constant',
criteria: {
name: 'assignees'
}
},
{
name: 'unassigned',
label: 'unassigned',
type: 'constant',
criteria: {
name: 'assignees',
value: [
{ loginId: '' }
]
}
},
{
label: 'searchAssignee',
type: 'search',
method: 'personModel.getListOfPersonsByText',
typeaheadTemplate: 'views/console/search-person-typeahead-template.html',
fields: {
key: 'fullName',
value: 'loginId'
},
valueFormat: '{loginId: value}'
}
]
},
{
name: 'authors',
label: 'author',
showLabelInPill: true,
options: [
{
name: 'me',
label: 'me',
type: 'constant',
criteria: {
name: 'authors'
}
},
{
label: 'searchAuthor',
type: 'search',
method: 'personModel.getListOfPersonsByText',
typeaheadTemplate: 'views/console/search-person-typeahead-template.html',
fields: {
key: 'fullName',
value: 'loginId'
},
valueFormat: '{loginId: value}'
}
]
},
{
name: 'companies',
label: 'company',
options: [
{
label: 'searchCompany',
type: 'search',
method: 'searchModel.getListOfCompaniesByText',
typeaheadTemplate: 'views/console/general-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{name: value}'
}
]
},
{
name: 'createDateRanges',
label: 'createDate',
showLabelInPill: true,
options: [
{
name: 'createDatePast24',
label: 'past24',
type: 'date',
order: 1,
defaultValues: {
start: 'moment().subtract(1, "days").valueOf()',
end: 'moment().valueOf()'
},
criteria: {
name: 'createDateRanges'
}
},
{
name: 'createDatePastWeek',
label: 'pastWeek',
type: 'date',
order: 2,
defaultValues: {
start: 'moment().subtract(7, "days").valueOf()',
end: 'moment().valueOf()'
},
criteria: {
name: 'createDateRanges'
}
},
{
name: 'createDatePastMonth',
label: 'pastMonth',
type: 'date',
order: 3,
defaultValues: {
start: 'moment().subtract(30, "days").valueOf()',
end: 'moment().valueOf()'
},
criteria: {
name: 'createDateRanges'
}
},
{
name: 'createDateCustomRange',
label: 'customRange',
type: 'timeStampRange',
format: 'mediumDate',
startDatePicker: {
date: new Date()
},
endDatePicker: {
date: new Date()
},
criteria: {
name: 'createDateRanges'
}
}
]
},
{
name: 'keywords',
label: 'keywords',
options: [
{
label: 'searchKeywords',
type: 'search',
subtype: 'keyword'
}
]
},
{
name: 'modifiedDateRanges',
label: 'lastModifiedDate',
showLabelInPill: true,
options: [
{
name: 'modifiedDatePast24',
label: 'past24',
type: 'date',
order: 1,
defaultValues: {
start: 'moment().subtract(1, "days").valueOf()',
end: 'moment().valueOf()'
},
criteria: {
name: 'modifiedDateRanges'
}
},
{
name: 'modifiedDatePastWeek',
label: 'pastWeek',
type: 'date',
order: 2,
defaultValues: {
start: 'moment().subtract(7, "days").valueOf()',
end: 'moment().valueOf()'
},
criteria: {
name: 'modifiedDateRanges'
}
},
{
name: 'modifiedDatePastMonth',
label: 'pastMonth',
type: 'date',
order: 3,
defaultValues: {
start: 'moment().subtract(30, "days").valueOf()',
end: 'moment().valueOf()'
},
criteria: {
name: 'modifiedDateRanges'
}
},
{
name: 'modifiedDateCustomRange',
label: 'customRange',
type: 'timeStampRange',
format: 'mediumDate',
startDatePicker: {
date: new Date()
},
endDatePicker: {
date: new Date()
},
criteria: {
name: 'modifiedDateRanges'
}
}
]
},
{
name: 'languages',
label: 'language',
options: [
{
name: 'myLanguage',
label: 'myLanguage',
type: 'constant',
criteria: {
name: 'languages'
}
}
]
},
{
name: 'organizations',
label: 'organization',
options: [
{
name: 'myOrganization',
label: 'myOrganization',
type: 'constant',
criteria: {
name: 'organizations'
}
},
{
label: 'searchOrganization',
type: 'search',
method: 'searchModel.getOrganizationsByText',
typeaheadTemplate: 'views/console/general-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: 'value'
}
]
},
{
name: 'settings',
label: 'settings',
options: [
{
name: 'favorite',
label: 'favorite',
type: 'constant',
filterName: 'settings',
criteria: {
name: 'favorite',
value: 'true'
}
},
{
name: 'flagged',
label: 'flagged',
type: 'constant',
filterName: 'settings',
criteria: {
name: 'flagged',
value: 'true'
}
},
{
name: 'internal',
label: 'internal',
type: 'constant',
filterName: 'settings',
criteria: {
name: 'internal',
value: 'true'
}
}
]
},
{
name: 'statusMappings',
label: 'status',
options: [
{
name: 'allOpen',
label: 'allOpen',
type: 'constant',
filterName: 'statusMappings',
criteria: {
name: 'statusMappings',
value: ['open']
}
}
/*
,
{
name: 'allClosed',
label: 'allClosed',
type: 'constant',
filterName: 'statusMappings',
criteria: {
name: 'statusMappings',
value: ['close']
}
}
*/
]
},
{
name: 'templateNames',
label: 'templateName',
options: []
},
{
name: 'approvalAssignment',
label: 'toBeApproved',
showLabelInPill: true,
options: [
{
name: 'me',
label: 'me',
type: 'constant',
criteria: {
name: 'approvalAssignment'
}
},
{
label: 'searchApprover',
type: 'search',
method: 'personModel.getListOfPersonsByText',
typeaheadTemplate: 'views/console/search-person-typeahead-template.html',
fields: {
key: 'fullName',
value: 'loginId'
},
valueFormat: '{loginId: value}'
}
]
}
],
languages: [
{
locale: 'en',
name: 'English',
label: 'English'
}, {
locale: 'de',
name: 'German',
label: 'German'
}, {
locale: 'fr',
name: 'French',
label: 'French'
}, {
locale: 'he',
name: 'Hebrew',
label: 'Hebrew'
}, {
locale: 'it',
name: 'Italian',
label: 'Italian'
}, {
locale: 'ja',
name: 'Japanese',
label: 'Japanese'
}, {
locale: 'ko',
name: 'Korean',
label: 'Korean'
}, {
locale: 'ru',
name: 'Russian',
label: 'Russian'
}, {
locale: 'zh',
name: 'Chinese',
label: 'Chinese'
}, {
locale: 'es',
name: 'Spanish',
label: 'Spanish'
}, {
locale: 'pt',
name: 'Portuguese',
label: 'Portuguese'
}
],
ribbon: [
{
type: 'button',
icon: 'user_plus',
active: 'ribbonValidationService.isSameTypeSelected(selectedItems) && !ribbonValidationService.isServiceRequest(selectedItems) && ribbonValidationService.primaryAndOwnerCompanyCheck(selectedItems) && ribbonValidationService.hasKnowledgeWritePermissions()',
action: 'assign'
},
{
type: 'button',
icon: 'share',
active: 'selectedItems.length > 0',
action: 'share'
},
{
type: 'button',
icon: 'star',
active: 'selectedItems.length > 0',
actions: [
{
method: 'follow',
name: 'follow'
},
{
method: 'unfollow',
name: 'unfollow'
}
]
},
{
type: 'button',
text: 'performAssessment',
active: 'selectedItems.length === 1',
hidden: 'ribbonValidationService.hasKCSCoachAccess()',
action: 'assess'
}
/*
{
type: 'button',
icon: 'link',
active: 'ribbonValidationService.isSameTypeSelected(selectedItems) && !ribbonValidationService.isServiceRequest(selectedItems)',
action: 'link'
},
{
type: 'button',
icon: 'new_window',
active: 'selectedItems.length <= 10',
action: 'openInNewTab'
},
{
type: 'button',
text: 'updateStatus',
active: 'ribbonValidationService.isSameTypeSelected(selectedItems) && !ribbonValidationService.isServiceRequest(selectedItems)',
action: 'changeStatus'
}
*/
],
stats: [
{
name: 'myArticles',
label: 'my',
filterSetup: [
{ filter: 'assignees', option: 'me' }
]
},
{
name: 'newArticles',
label: 'new',
filterSetup: [
{ filter: 'createDateRanges', option: 'createDatePastWeek' }
]
},
{
name: 'publishedArticles',
label: 'open',
filterSetup: [
{ filter: 'statusMappings', option: 'Published' }
]
},
{
name: 'allArticles',
label: 'all'
}
]
},
assetConsole: {
columns: {
id: {
displayName: 'ciId',
attributeName: 'CIid',
field: 'assetId',
visible: true,
order: 1,
pinned: true,
name: 'id'
},
name: {
displayName: 'name',
attributeName: 'name',
field: 'name',
visible: true,
order: 2,
pinned: true,
name: 'name',
width: 200
},
assetType: {
displayName: 'assetType',
attributeName: 'type',
field: 'type',
visible: true,
order: 3,
name: 'assetType',
sortable: false,
cellFilter: 'localizeLabel: "assetType":row.entity.ticketType'
},
productName: {
displayName: 'productName',
attributeName: 'productName',
field: 'product.name',
visible: true,
order: 4,
name: 'productName'
},
status: {
displayName: 'status',
attributeName: 'status',
field: 'status.value',
visible: true,
order: 5,
name: 'status',
cellFilter: 'localizeLabel: "status":row.entity.ticketType'
},
serialNumber: {
displayName: 'serialNumber',
attributeName: 'serialNumber',
field: 'serialNumber',
visible: true,
order: 6,
name: 'serialNumber',
width: 250
},
floor: {
displayName: 'floor',
attributeName: 'floor',
field: 'floor',
visible: false,
name: 'floor'
},
manufacturer: {
displayName: 'manufacturer',
attributeName: 'manufacturer',
field: 'manufacturer',
visible: false,
name: 'manufacturer'
},
room: {
displayName: 'room',
attributeName: 'room',
field: 'room',
visible: false,
name: 'room'
},
region: {
displayName: 'region',
attributeName: 'siteRegion',
field: 'site.region',
visible: false,
name: 'region'
},
modelVersion: {
displayName: 'modelVersion',
attributeName: 'modelVersion',
field: 'product.model',
visible: false,
name: 'modelVersion'
},
systemRole: {
displayName: 'systemRole',
attributeName: 'systemRole',
field: 'systemRole',
visible: false,
name: 'systemRole'
},
site: {
displayName: 'site',
attributeName: 'siteName',
field: 'site.name',
visible: true,
order: 7,
name: 'site',
width: 200
}
},
filter: [
{
name: 'assetTypes',
label: 'assetType',
expanded: true,
options: []
},
{
name: 'approvedBy',
label: 'approvedBy',
showLabelInPill: true,
searchModes: [
{ id: 0, method: 'personModel.getListOfPersonsByText', name: 'common.labels.people', fields: { key: 'fullName', value: 'personId' } },
{ id: 1, method: 'searchModel.getListOfSupportGroupsByText', name: 'common.labels.supportGroup', fields: { key: 'name', value: 'id' } },
{ id: 2, method: 'searchModel.getOrganizationsByText', name: 'common.label.organization', fields: { key: 'name', value: 'attributeMap.id' } }
],
selectedSearchMode: { id: 0, method: 'personModel.getListOfPersonsByText', name: 'common.labels.people', fields: { key: 'fullName', value: 'personId' } },
options: [
{
name: 'me',
label: 'me',
type: 'constant',
criteria: {
name: 'approvedBy'
}
},
{
label: 'searchApprover',
type: 'search',
method: 'personModel.getListOfPersonsByText',
typeaheadTemplate: 'views/console/search-person-typeahead-template.html',
fields: {
key: 'fullName',
value: 'personId'
},
valueFormat: '{id: value}'
}
]
},
{
name: 'assetSubTypes',
label: 'assetSubType',
showLabelInPill: true,
options: []
},
{
name: 'companies',
label: 'company',
showLabelInPill: true,
options: [
{
label: 'searchCompany',
type: 'search',
method: 'searchModel.getListOfCompaniesByText',
typeaheadTemplate: 'views/console/general-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{name: value}'
}
]
},
{
name: 'cpu',
label: 'cpuCount',
assetType: ['Computer System'],
showLabelInPill: true,
options: [
{
label: 'cpuCountRange',
type: 'range',
subtype: 'range',
criteria: {
name: 'cpu',
value: [{ min: 1, max: 1 }]
}
}
]
},
{
name: 'createdBy',
label: 'createdBy',
showLabelInPill: true,
searchModes: [
{ id: 0, method: 'personModel.getListOfPersonsByText', name: 'common.labels.people', fields: { key: 'fullName', value: 'personId' } },
{ id: 1, method: 'searchModel.getListOfSupportGroupsByText', name: 'common.labels.supportGroup', fields: { key: 'name', value: 'id' } },
{ id: 2, method: 'searchModel.getOrganizationsByText', name: 'common.label.organization', fields: { key: 'name', value: 'attributeMap.id' } }
],
selectedSearchMode: { id: 0, method: 'personModel.getListOfPersonsByText', name: 'common.labels.people', fields: { key: 'fullName', value: 'personId' } },
options: [
{
name: 'me',
label: 'me',
type: 'constant',
criteria: {
name: 'createdBy'
}
},
{
label: 'searchCreator',
type: 'search',
method: 'personModel.getListOfPersonsByText',
typeaheadTemplate: 'views/console/search-person-typeahead-template.html',
fields: {
key: 'fullName',
value: 'personId'
},
valueFormat: '{id: value}'
}
]
},
{
name: 'floor',
label: 'floor',
showLabelInPill: true,
options: [
{
label: 'searchFloor',
type: 'search',
subtype: 'keyword'
}
]
},
{
name: 'keywords',
label: 'keywords',
options: [
{
label: 'searchKeywords',
type: 'search',
subtype: 'keyword'
}
]
},
{
name: 'managedBy',
label: 'managedBy',
showLabelInPill: true,
searchModes: [
{ id: 0, method: 'personModel.getListOfPersonsByText', name: 'common.labels.people', fields: { key: 'fullName', value: 'personId' } },
{ id: 1, method: 'searchModel.getListOfSupportGroupsByText', name: 'common.labels.supportGroup', fields: { key: 'name', value: 'id' } },
{ id: 2, method: 'searchModel.getOrganizationsByText', name: 'common.label.organization', fields: { key: 'name', value: 'attributeMap.id' } }
],
selectedSearchMode: { id: 0, method: 'personModel.getListOfPersonsByText', name: 'common.labels.people', fields: { key: 'fullName', value: 'personId' } },
options: [
{
name: 'me',
label: 'me',
type: 'constant',
criteria: {
name: 'managedBy'
}
},
{
label: 'searchManager',
type: 'search',
method: 'personModel.getListOfPersonsByText',
typeaheadTemplate: 'views/console/search-person-typeahead-template.html',
fields: {
key: 'fullName',
value: 'personId'
},
valueFormat: '{id: value}'
}
]
},
{
name: 'manufacturer',
label: 'manufacturer',
showLabelInPill: true,
options: [
{
label: 'searchManufacturer',
type: 'search',
method: 'searchModel.getFoundationManufacturersByText',
typeaheadTemplate: 'views/search/search-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: 'value'
}
]
},
{
name: 'model',
label: 'model',
showLabelInPill: true,
options: [
{
label: 'searchModel',
type: 'search',
subtype: 'keyword'
}
]
},
{
name: 'operatingSystem',
label: 'operatingSystem',
showLabelInPill: true,
assetType: ['Computer System'],
criteriaKeys: [
{
name: 'manufacturer',
label: 'console.filter.name.manufacturer',
method: 'searchModel.getFoundationManufacturersByText',
valueFormat: 'value',
fields: {
key: 'name',
value: 'name'
},
operators: [{ name: 'console.filter.optionName.is', id: 1 }],
selectedOperator: { name: 'console.filter.optionName.is', id: 1 },
typeaheadTemplate: 'views/search/search-typeahead-template.html',
type: 'search'
},
{
name: 'productName',
label: 'console.column.productName',
method: 'consoleModel.getProductCategoriesByCompany',
valueFormat: '{categorizations: categorizations}',
fields: {
key: 'value',
value: ''
},
operators: [{ name: 'console.filter.optionName.is', id: 1 }],
selectedOperator: { name: 'console.filter.optionName.is', id: 1 },
typeaheadTemplate: 'views/search/search-typeahead-template.html',
type: 'search',
menuPositionShift: true
},
{
name: 'version',
label: 'console.column.version',
placeholder: 'console.filter.optionName.version',
operators: [{ name: 'console.filter.optionName.is', id: 1 }, { name: 'console.filter.optionName.isnot', id: 6 }, { name: 'console.filter.optionName.like', id: 7 }],
selectedOperator: { name: 'console.filter.optionName.is', id: 1 },
type: 'keyword'
}
],
options: [
{
label: 'operatingSystem',
type: 'range',
subtype: 'range',
criteria: {
name: 'operatingSystem'
}
}
]
},
{
name: 'owners',
label: 'owner',
showLabelInPill: true,
searchModes: [
{ id: 0, method: 'personModel.getListOfPersonsByText', name: 'common.labels.people', fields: { key: 'fullName', value: 'personId' } },
{ id: 1, method: 'searchModel.getListOfSupportGroupsByText', name: 'common.labels.supportGroup', fields: { key: 'name', value: 'id' } },
{ id: 2, method: 'searchModel.getOrganizationsByText', name: 'common.label.organization', fields: { key: 'name', value: 'attributeMap.id' } }
],
selectedSearchMode: { id: 0, method: 'personModel.getListOfPersonsByText', name: 'common.labels.people', fields: { key: 'fullName', value: 'personId' } },
options: [
{
name: 'me',
label: 'me',
type: 'constant',
criteria: {
name: 'owners'
}
},
{
label: 'searchOwner',
type: 'search',
method: 'personModel.getListOfPersonsByText',
typeaheadTemplate: 'views/console/search-person-typeahead-template.html',
fields: {
key: 'fullName',
value: 'personId'
},
valueFormat: '{id: value}'
}
]
},
{
name: 'processor',
label: 'processor',
showLabelInPill: true,
assetType: ['Computer System'],
criteriaKeys: [
{
name: 'manufacturer',
label: 'console.filter.name.manufacturer',
method: 'searchModel.getFoundationManufacturersByText',
valueFormat: 'value',
fields: {
key: 'name',
value: 'name'
},
operators: [{ name: 'console.filter.optionName.is', id: 1 }],
selectedOperator: { name: 'console.filter.optionName.is', id: 1 },
typeaheadTemplate: 'views/search/search-typeahead-template.html',
type: 'search'
},
{
name: 'productName',
label: 'console.column.productName',
method: 'consoleModel.getProductCategoriesByCompany',
valueFormat: '{categorizations: categorizations}',
fields: {
key: 'value',
value: ''
},
operators: [{ name: 'console.filter.optionName.is', id: 1 }],
selectedOperator: { name: 'console.filter.optionName.is', id: 1 },
typeaheadTemplate: 'views/search/search-typeahead-template.html',
type: 'search',
menuPositionShift: true
},
{
name: 'speed',
label: 'console.column.speed',
placeholder: 'console.filter.optionName.speed',
operators: [{ name: '=', id: 1 }, { name: '>=', id: 3 }, { name: '<=', id: 5 }],
selectedOperator: { name: '=', id: 1 },
type: 'keyword',
valueIsNumber: true
}
],
options: [
{
label: 'processor',
type: 'range',
subtype: 'range',
criteria: {
name: 'processor'
}
}
]
},
{
name: 'products',
label: 'product',
showLabelInPill: true,
options: [
{
label: 'searchProducts',
type: 'search',
method: 'consoleModel.getProductCategoriesByCompany',
typeaheadTemplate: 'views/search/search-typeahead-template.html',
fields: {
key: 'value',
value: ''
},
valueFormat: '{categorizations: categorizations}'
}
]
},
{
name: 'region',
label: 'region',
showLabelInPill: true,
options: [
{
label: 'myRegion',
name: 'myRegion',
type: 'constant',
criteria: {
name: 'region'
}
},
{
label: 'searchRegion',
type: 'search',
method: 'searchModel.getFoundationRegionsByText',
typeaheadTemplate: 'views/console/general-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{region: value, companyName: companyName}'
}
]
},
{
name: 'rack',
label: 'rack',
showLabelInPill: true,
assetType: ['Computer System'],
options: [
{
label: 'searchRack',
type: 'search',
subtype: 'keyword'
}
]
},
{
name: 'room',
label: 'room',
showLabelInPill: true,
options: [
{
label: 'searchRoom',
type: 'search',
subtype: 'keyword'
}
]
},
{
name: 'sites',
label: 'site',
showLabelInPill: true,
options: [
{
label: 'mySite',
name: 'mySite',
type: 'constant',
criteria: {
name: 'sites'
}
},
{
label: 'searchSite',
type: 'search',
method: 'searchModel.getFoundationSitesByText',
typeaheadTemplate: 'views/console/site-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{name: value, siteGroup: siteGroupName, region: regionName, companyName: companyName}'
}
]
},
{
name: 'siteGroup',
label: 'siteGroup',
showLabelInPill: true,
options: [
{
label: 'mySiteGroup',
name: 'mySiteGroup',
type: 'constant',
criteria: {
name: 'siteGroup'
}
},
{
label: 'searchSiteGroup',
type: 'search',
method: 'searchModel.getFoundationSiteGroupsByText',
typeaheadTemplate: 'views/console/general-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{siteGroup: value, region: regionName, companyName: companyName}'
}
]
},
{
name: 'ticketSpecificStatuses',
label: 'status',
options: []
},
{
name: 'supplier',
label: 'supplier',
showLabelInPill: true,
options: [
{
label: 'searchSupplier',
type: 'search',
method: 'searchModel.getFoundationSuppliersByText',
typeaheadTemplate: 'views/search/search-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: 'value'
}
]
},
{
name: 'supportedBy',
label: 'supportedBy',
showLabelInPill: true,
searchModes: [
{ id: 0, method: 'personModel.getListOfPersonsByText', name: 'common.labels.people', fields: { key: 'fullName', value: 'personId' } },
{ id: 1, method: 'searchModel.getListOfSupportGroupsByText', name: 'common.labels.supportGroup', fields: { key: 'name', value: 'id' } },
{ id: 2, method: 'searchModel.getOrganizationsByText', name: 'common.label.organization', fields: { key: 'name', value: 'attributeMap.id' } }
],
selectedSearchMode: { id: 0, method: 'personModel.getListOfPersonsByText', name: 'common.labels.people', fields: { key: 'fullName', value: 'personId' } },
options: [
{
name: 'me',
label: 'me',
type: 'constant',
criteria: {
name: 'supportedBy'
}
},
{
label: 'searchSupporter',
type: 'search',
method: 'personModel.getListOfPersonsByText',
typeaheadTemplate: 'views/console/search-person-typeahead-template.html',
fields: {
key: 'fullName',
value: 'personId'
},
valueFormat: '{id: value}'
}
]
},
{
name: 'usedBy',
label: 'usedBy',
showLabelInPill: true,
searchModes: [
{ id: 0, method: 'personModel.getListOfPersonsByText', name: 'common.labels.people', fields: { key: 'fullName', value: 'personId' } },
{ id: 1, method: 'searchModel.getListOfSupportGroupsByText', name: 'common.labels.supportGroup', fields: { key: 'name', value: 'id' } },
{ id: 2, method: 'searchModel.getOrganizationsByText', name: 'common.label.organization', fields: { key: 'name', value: 'attributeMap.id' } }
],
selectedSearchMode: { id: 0, method: 'personModel.getListOfPersonsByText', name: 'common.labels.people', fields: { key: 'fullName', value: 'personId' } },
options: [
{
name: 'me',
label: 'me',
type: 'constant',
criteria: {
name: 'usedBy'
}
},
{
label: 'searchUser',
type: 'search',
method: 'personModel.getListOfPersonsByText',
typeaheadTemplate: 'views/console/search-person-typeahead-template.html',
fields: {
key: 'fullName',
value: 'personId'
},
valueFormat: '{id: value}'
}
]
}
],
ribbon: [
/*
{
type: 'button',
icon: 'link',
active: 'ribbonValidationService.isSameTypeSelected(selectedItems) && !ribbonValidationService.isServiceRequest(selectedItems)',
action: 'link'
},
{
type: 'button',
icon: 'new_window',
active: 'selectedItems.length <= 10',
action: 'openInNewTab'
},
{
type: 'button',
text: 'updateStatus',
active: 'ribbonValidationService.isSameTypeSelected(selectedItems) && !ribbonValidationService.isServiceRequest(selectedItems)',
action: 'changeStatus'
}
*/
],
stats: []
},
feed: {
update: {
filter: [
{
name: 'bcmActions',
label: 'bcmActions',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['asset-reboot', 'asset-wakeup', 'asset-shutdown', 'asset-ping', 'asset-audit']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'ownershipChanges',
label: 'ownershipUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['ownership-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'assignment',
label: 'assignmentUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['assignment-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'broadcasts',
label: 'broadcasts',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['broadcast-create', 'broadcast-met']
},
{
name: 'filterType',
value: ['broadcast']
}
]
},
{
name: 'outages',
label: 'outages',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['outage-change', 'outage-met']
},
{
name: 'filterType',
value: ['outage']
}
]
},
{
name: 'note',
label: 'note',
type: 'showActivityTypes',
criteria: [
{
name: 'access',
value: ['false']
},
{
name: 'filterType',
value: ['comment']
}
],
display: 'isKnowledgeOnlyUser'
},
{
name: 'slaAlerts',
label: 'slaAlerts',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['sla-change']
},
{
name: 'filterType',
value: ['system']
}
],
display: 'isSLMEnabled'
},
{
name: 'statusChanges',
label: 'statusUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['status-change', 'inc-reopen']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'approval',
label: 'approvalStatusUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['approval-accept-event', 'approval-hold-event', 'approval-reject-event']
},
{
name: 'filterType',
value: ['system']
}
],
display: 'hasKnowledgeOrChangePermission'
},
{
name: 'priorityChanges',
label: 'priorityUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['priority-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'knowledgeArticleUpdates',
label: 'knowledgeArticleUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['ka-minor-edit', 'ka-major-edit', 'knowledge-create']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'taskUpdates',
label: 'taskUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['task-relation']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'relationshipChanges',
label: 'relationshipChanges',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['related-change', 'unrelated-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'locationChanges',
label: 'locationChanges',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['region-change']
},
{
name: 'filterType',
value: ['system']
}
]
}
]
},
activity: {
incident: {
filter: [
{
name: 'privateNote',
label: 'privateNote',
type: 'showActivityTypes',
criteria: [
{
name: 'access',
value: ['true']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'publicNote',
label: 'publicNote',
type: 'showActivityTypes',
criteria: [
{
name: 'access',
value: ['false']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'vendorNote',
label: 'vendorNote',
type: 'showActivityTypes',
criteria: [
{
name: 'shareWithVendor',
value: ['true']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'assignment',
label: 'assignmentUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['assignment-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'statusChanges',
label: 'statusUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['status-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'slaAlerts',
label: 'slaAlerts',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['sla-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'taskActivities',
label: 'taskActivities',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['task-relation']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'versionChanges',
label: 'versionChanges',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['incident-create']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'priorityChanges',
label: 'priorityUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['priority-change']
},
{
name: 'filterType',
value: ['system']
}
]
}
]
},
workorder: {
filter: [
{
name: 'privateNote',
label: 'privateNote',
type: 'showActivityTypes',
criteria: [
{
name: 'access',
value: ['true']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'publicNote',
label: 'publicNote',
type: 'showActivityTypes',
criteria: [
{
name: 'access',
value: ['false']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'vendorNote',
label: 'vendorNote',
type: 'showActivityTypes',
criteria: [
{
name: 'shareWithVendor',
value: ['true']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'assignment',
label: 'assignmentUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['assignment-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'statusChanges',
label: 'statusUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['status-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'slaAlerts',
label: 'slaAlerts',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['sla-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'taskActivities',
label: 'taskActivities',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['task-relation']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'priorityChanges',
label: 'priorityUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['priority-change']
},
{
name: 'filterType',
value: ['system']
}
]
}
]
},
task: {
filter: [
{
name: 'privateNote',
label: 'privateNote',
type: 'showActivityTypes',
criteria: [
{
name: 'access',
value: ['true']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'publicNote',
label: 'publicNote',
type: 'showActivityTypes',
criteria: [
{
name: 'access',
value: ['false']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'assignment',
label: 'assignmentUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['assignment-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'statusChanges',
label: 'statusUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['status-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'slaAlerts',
label: 'slaAlerts',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['sla-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'priorityChanges',
label: 'priorityUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['priority-change']
},
{
name: 'filterType',
value: ['system']
}
]
}
]
},
request: {
filter: [
{
name: 'statusChanges',
label: 'statusUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['status-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'assignment',
label: 'assignmentUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['assignment-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'slaAlerts',
label: 'slaAlerts',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['sla-change']
},
{
name: 'filterType',
value: ['system']
}
]
}
]
},
asset: {
filter: [
{
name: 'locationChanges',
label: 'locationChanges',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['region-change']
}
]
},
{
name: 'ownershipChanges',
label: 'ownershipChanges',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['ownership-change']
}
]
},
{
name: 'privateNote',
label: 'privateNote',
type: 'showActivityTypes',
criteria: [
{
name: 'access',
value: ['true']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'publicNote',
label: 'publicNote',
type: 'showActivityTypes',
criteria: [
{
name: 'access',
value: ['false']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'relationshipChanges',
label: 'relationshipChanges',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['related-change', 'unrelated-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'statusChanges',
label: 'statusUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['status-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'outages',
label: 'outages',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['outage-change']
},
{
name: 'filterType',
value: ['outage']
}
]
},
{
name: 'bcmActions',
label: 'bcmActions',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['asset-reboot', 'asset-wakeup', 'asset-shutdown', 'asset-ping', 'asset-audit']
},
{
name: 'filterType',
value: ['system']
}
]
}
]
},
person: {
filter: [
{
name: 'privateNote',
label: 'privateNote',
type: 'showActivityTypes',
criteria: [
{
name: 'access',
value: ['true']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'publicNote',
label: 'publicNote',
type: 'showActivityTypes',
criteria: [
{
name: 'access',
value: ['false']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'assignment',
label: 'assignmentUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['assignment-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'statusChanges',
label: 'statusUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['status-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'priorityChanges',
label: 'priorityUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['priority-change']
},
{
name: 'filterType',
value: ['system']
}
]
}
]
},
knowledge: {
filter: [
{
name: 'statusChanges',
label: 'statusUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['status-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'approvalAcceptUpdate',
label: 'approvalAcceptUpdate',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['approval-accept-event']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'approvalHoldUpdate',
label: 'approvalHoldUpdate',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['approval-hold-event']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'approvalRejectUpdate',
label: 'approvalRejectUpdate',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['approval-reject-event']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'flagUnflagChanges',
label: 'flagUnflagChanges',
type: 'showActivityTypes',
criteria: [
{
name: 'workNoteTypeId',
value: ['FLAG0001', 'UNFLAG0001']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'feedbackComments',
label: 'feedbackComments',
type: 'showActivityTypes',
criteria: [
{
name: 'workNoteTypeId',
value: ['1000']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'versionChanges',
label: 'versionChanges',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['knowledge-create']
},
{
name: 'filterType',
value: ['system']
}
]
}
]
},
change: {
filter: [
{
name: 'privateNote',
label: 'privateNote',
type: 'showActivityTypes',
criteria: [
{
name: 'access',
value: ['true']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'publicNote',
label: 'publicNote',
type: 'showActivityTypes',
criteria: [
{
name: 'access',
value: ['false']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'vendorNote',
label: 'vendorNote',
type: 'showActivityTypes',
criteria: [
{
name: 'shareWithVendor',
value: ['true']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'assignment',
label: 'assignmentUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['assignment-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'statusChanges',
label: 'statusUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['status-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'slaAlerts',
label: 'slaAlerts',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['sla-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'taskActivities',
label: 'taskActivities',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['task-relation']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'priorityChanges',
label: 'priorityUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['priority-change']
},
{
name: 'filterType',
value: ['system']
}
]
}
]
},
problem: {
filter: [
{
name: 'privateNote',
label: 'privateNote',
type: 'showActivityTypes',
criteria: [
{
name: 'access',
value: ['true']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'publicNote',
label: 'publicNote',
type: 'showActivityTypes',
criteria: [
{
name: 'access',
value: ['false']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'vendorNote',
label: 'vendorNote',
type: 'showActivityTypes',
criteria: [
{
name: 'shareWithVendor',
value: ['true']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'assignment',
label: 'assignmentUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['assignment-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'statusChanges',
label: 'statusUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['status-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'taskActivities',
label: 'taskActivities',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['task-relation']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'priorityChanges',
label: 'priorityUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['priority-change']
},
{
name: 'filterType',
value: ['system']
}
]
}
]
},
knownerror: {
filter: [
{
name: 'privateNote',
label: 'privateNote',
type: 'showActivityTypes',
criteria: [
{
name: 'access',
value: ['true']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'publicNote',
label: 'publicNote',
type: 'showActivityTypes',
criteria: [
{
name: 'access',
value: ['false']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'assignment',
label: 'assignmentUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['assignment-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'statusChanges',
label: 'statusUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['status-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'taskActivities',
label: 'taskActivities',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['task-relation']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'priorityChanges',
label: 'priorityUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['priority-change']
},
{
name: 'filterType',
value: ['system']
}
]
}
]
},
release: {
filter: [
{
name: 'privateNote',
label: 'privateNote',
type: 'showActivityTypes',
criteria: [
{
name: 'access',
value: ['true']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'publicNote',
label: 'publicNote',
type: 'showActivityTypes',
criteria: [
{
name: 'access',
value: ['false']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'assignment',
label: 'assignmentUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['assignment-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'statusChanges',
label: 'statusUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['status-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'priorityChanges',
label: 'priorityUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['priority-change']
},
{
name: 'filterType',
value: ['system']
}
]
}
]
},
activity: {
filter: [
{
name: 'privateNote',
label: 'privateNote',
type: 'showActivityTypes',
criteria: [
{
name: 'access',
value: ['true']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'publicNote',
label: 'publicNote',
type: 'showActivityTypes',
criteria: [
{
name: 'access',
value: ['false']
},
{
name: 'filterType',
value: ['comment']
}
]
},
{
name: 'assignment',
label: 'assignmentUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['assignment-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'statusChanges',
label: 'statusUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['status-change']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'taskActivities',
label: 'taskActivities',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['task-relation']
},
{
name: 'filterType',
value: ['system']
}
]
},
{
name: 'priorityChanges',
label: 'priorityUpdates',
type: 'showActivityTypes',
criteria: [
{
name: 'eventType',
value: ['priority-change']
},
{
name: 'filterType',
value: ['system']
}
]
}
]
}
}
},
resource: {
filter: [
{
name: 'recommendedTemplates',
label: 'templates',
selected: true
},
{
name: 'recommendedKnowledge',
label: 'knowledge',
selected: true
},
{
name: 'recommendedTickets',
label: 'tickets',
selected: true
},
{
name: 'recommendedOutages',
label: 'outages',
selected: true
}
]
},
moreActions: {
asset: [
{
label: 'putIntoInventory',
method: 'putIntoInventory'
},
{
label: 'takeOutOfInventory',
method: 'takeOutOfInventory'
}
],
change: [
{
label: 'initiateimpactanalysis',
method: 'runImpactAnalysis'
}
],
knowledge: [
{
label: 'performAssessment',
method: 'startAssessment'
}
]
},
link: {
incident: [
{
type: 'incident',
relations: ['duplicateof', 'originalof', 'caused', 'causedby', 'resolved', 'resolvedby']
},
{
type: 'workorder',
relations: ['relatedto']
},
{
type: 'asset',
relations: ['relatedto', 'impacts', 'restores']
},
{
type: 'change',
relations: ['causedby', 'correctedby', 'relatedto']
},
{
type: 'problem',
relations: ['investigatedby', 'relatedto', 'resolvedby']
},
{
type: 'knownerror',
relations: ['relatedto', 'resolvedby']
},
{
type: 'release',
relations: ['relatedto']
}
],
workorder: [
{
type: 'incident',
relations: ['relatedto']
},
{
type: 'workorder',
relations: ['relatedto']
},
{
type: 'asset',
relations: ['relatedto']
},
{
type: 'change',
relations: ['relatedto']
},
{
type: 'problem',
relations: ['relatedto']
},
{
type: 'knownerror',
relations: ['relatedto']
}
],
task: [
{
type: 'asset',
relations: ['relatedto']
}
],
asset: [
{
type: 'incident',
relations: ['relatedto', 'impactedby', 'restoredby']
},
{
type: 'workorder',
relations: ['relatedto']
},
{
type: 'change',
relations: ['changedby', 'impactedby', 'installedby', 'movedby', 'relatedto', 'removedby', 'repairedby', 'upgradedby']
},
{
type: 'problem',
relations: ['relatedto', 'investigatedby', 'impactedby']
},
{
type: 'knownerror',
relations: ['relatedto', 'impactedby']
},
{
type: 'release',
relations: ['changedby', 'impactedby', 'installedby', 'movedby', 'relatedto', 'removedby', 'repairedby', 'upgradedby']
}
],
person: [
{
type: 'person',
relations: ['usedby', 'approvedby', 'createdby', 'managedby', 'ownedby', 'supportedby']
},
{
type: 'peopleType',
relations: ['people', 'company', 'organization', 'department', 'supportgroup']
}
],
knowledge: [
{
type: 'knowledge',
relations: ['references']
}
],
change: [
{
type: 'incident',
relations: ['caused', 'relatedto', 'corrects']
},
{
type: 'workorder',
relations: ['relatedto']
},
{
type: 'asset',
relations: ['relatedto', 'upgrades', 'repairs', 'impacts', 'installs', 'moves', 'changes', 'removes']
},
{
type: 'change',
relations: ['relatedto', 'dependent']
},
{
type: 'outage',
relations: ['relatedto']
},
{
type: 'problem',
relations: ['relatedto']
},
{
type: 'knownerror',
relations: ['initiatedby', 'relatedto']
},
{
type: 'release',
relations: ['relatedto', 'memberof']
}
],
release: [
{
type: 'incident',
relations: ['caused', 'relatedto', 'corrects']
},
{
type: 'asset',
relations: ['relatedto', 'upgrades', 'repairs', 'impacts', 'installs', 'moves', 'changes', 'removes']
},
{
type: 'change',
relations: ['relatedto']
},
{
type: 'outage',
relations: ['relatedto']
},
{
type: 'problem',
relations: ['relatedto']
},
{
type: 'knownerror',
relations: ['initiatedby', 'relatedto']
},
{
type: 'release',
relations: ['relatedto']
}
],
problem: [
{
type: 'incident',
relations: ['investigates', 'relatedto', 'resolved']
},
{
type: 'asset',
relations: ['impacts', 'investigates', 'relatedto']
},
{
type: 'change',
relations: ['relatedto']
},
{
type: 'outage',
relations: ['relatedto']
},
{
type: 'problem',
relations: ['investigatedby', 'investigates', 'relatedto']
},
{
type: 'knownerror',
relations: ['identified', 'initiates', 'relatedto']
},
{
type: 'workorder',
relations: ['relatedto']
},
{
type: 'release',
relations: ['relatedto']
}
],
knownerror: [
{
type: 'incident',
relations: ['relatedto', 'resolved']
},
{
type: 'asset',
relations: ['impacts', 'relatedto']
},
{
type: 'change',
relations: ['relatedto', 'initiates']
},
{
type: 'outage',
relations: ['relatedto']
},
{
type: 'problem',
relations: ['initiatedby', 'identifiedby', 'relatedto']
},
{
type: 'knownerror',
relations: ['relatedto']
},
{
type: 'workorder',
relations: ['relatedto']
},
{
type: 'release',
relations: ['relatedto', 'initiates']
}
]
},
asset: {
filter: [
{
name: 'parent',
label: 'parent',
type: 'assetTypes'
},
{
name: 'child',
label: 'child',
type: 'assetTypes'
},
{
name: 'impact',
label: 'impact',
type: 'assetTypes'
},
{
name: 'incident',
label: 'incident',
type: 'ticketTypes'
},
{
name: 'workorder',
label: 'workorder',
type: 'ticketTypes'
},
{
name: 'change',
label: 'change',
type: 'ticketTypes'
},
{
name: 'release',
label: 'release',
type: 'ticketTypes'
},
{
name: 'problem',
label: 'problem',
type: 'ticketTypes'
},
{
name: 'knownerror',
label: 'knownerror',
type: 'ticketTypes'
},
{
name: 'task',
label: 'task',
type: 'ticketTypes'
}
]
},
outage: {
defaultFilter: {
status: ['Current Unavailability', 'Scheduled', 'Restored']
},
filter: [
{
name: 'current-unavailability',
label: 'current-unavailability',
type: 'outageStatuses',
selected: true,
criteria: {
name: 'status',
value: ['Current Unavailability']
}
},
{
name: 'scheduled',
label: 'scheduled',
type: 'outageStatuses',
selected: true,
criteria: {
name: 'status',
value: ['Scheduled']
}
},
{
name: 'restored',
label: 'restored',
type: 'outageStatuses',
selected: true,
criteria: {
name: 'status',
value: ['Restored']
}
}
],
searchFilter: [
{
name: 'name',
label: 'ciName',
expanded: true,
options: [
{
name: 'relatedCI',
label: 'allRelatedCIs',
type: 'constant',
criteria: {
name: 'relatedCI',
value: true
},
active: true
},
{
label: 'search',
type: 'search',
method: 'parentScope.searchCIsByKeyword',
typeaheadTemplate: 'views/search/search-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: 'value'
}
]
},
{
name: 'scheduledDate',
label: 'scheduledDate',
options: [
{
name: 'changeStartNext24',
label: 'next24',
type: 'date',
defaultValues: {
start: 'moment().valueOf()',
end: 'moment().add(1, "days").valueOf()'
},
criteria: {
name: 'scheduledStartDates'
}
},
{
name: 'changeStartNext48',
label: 'next48',
type: 'date',
defaultValues: {
start: 'moment().valueOf()',
end: 'moment().add(2, "days").valueOf()'
},
criteria: {
name: 'scheduledStartDates'
}
},
{
name: 'changeStartNextWeek',
label: 'nextWeek',
type: 'date',
defaultValues: {
start: 'moment().valueOf()',
end: 'moment().add(7, "days").valueOf()'
},
criteria: {
name: 'scheduledStartDates'
}
},
{
name: 'changeStartCustomRange',
label: 'customRange',
type: 'timeStampRange',
format: 'mediumDate',
startDatePicker: {
date: new Date()
},
endDatePicker: {
date: new Date()
},
criteria: {
name: 'scheduledStartDates'
}
}
]
},
{
name: 'statuses',
label: 'unavailabilityStatus',
options: []
},
{
name: 'types',
label: 'unavailabilityType',
options: []
}
]
},
metadata: {
mapping: [
{
name: 'priority',
label: 'priorities'
},
{
name: 'status',
label: 'statuses'
},
{
name: 'statusReason',
label: 'statuses'
},
{
name: 'type',
label: 'types'
},
{
name: 'category',
label: 'categories'
},
{
name: 'resCategory',
label: 'resCategories'
},
{
name: 'impact',
label: 'impacts'
},
{
name: 'urgency',
label: 'urgencies'
},
{
name: 'workinfoType',
label: 'workinfoTypes'
},
{
name: 'primaryCapability',
label: 'primaryCapabilities'
},
{
name: 'systemType',
label: 'systemType'
},
{
name: 'virtualSystemType',
label: 'virtualSystemType'
},
{
name: 'visibility',
label: 'visibilities'
},
{
name: 'timing',
label: 'timings'
},
{
name: 'timingReason',
label: 'timingReasons'
},
{
name: 'changeReason',
label: 'changeReasons'
},
{
name: 'riskLevel',
label: 'riskLevels'
},
{
name: 'investigationDriver',
label: 'investigationDrivers'
},
{
name: 'viewAccess',
label: 'viewAccesses'
},
{
name: 'collisionStatus',
label: 'collisionStatuses'
},
{
name: 'language',
label: 'languages'
},
{
name: 'assetType',
label: 'assetTypes'
},
{
name: 'serviceType',
label: 'types'
},
{
name: 'releaseType',
label: 'types'
},
{
name: 'milestone',
label: 'milestones'
},
{
name: 'businessJustification',
label: 'businessJustifications'
}
]
},
ciSearch: {
columns: {
classId: {
field: 'assetId',
displayName: 'classId',
visible: true,
order: 1,
name: 'classId'
},
name: {
field: 'name',
displayName: 'name',
visible: true,
order: 2,
name: 'name'
},
type: {
field: 'type',
displayName: 'type',
visible: true,
order: 3,
name: 'type',
cellFilter: 'localizeLabel: "assetType":row.entity.ticketType'
},
productName: {
field: 'product.name',
displayName: 'productName',
visible: true,
order: 4,
name: 'productName'
},
status: {
field: 'status.value',
displayName: 'status',
visible: true,
order: 5,
name: 'status',
cellFilter: 'localizeLabel: "status":row.entity.ticketType'
},
serialNumber: {
field: 'serialNumber',
displayName: 'serialNumber',
visible: true,
order: 6,
name: 'serialNumber'
},
site: {
field: 'site.name',
displayName: 'site',
visible: true,
order: 7,
name: 'site'
},
related: {
field: 'linked',
displayName: 'related',
visible: true,
order: 8,
name: 'related'
}
},
assetConsoleFilter: [
{
name: 'custom',
label: 'savedCISearches',
options: []
},
{
name: 'assetTypes',
label: 'ciType',
options: []
},
{
name: 'approvedBy',
label: 'approvedBy',
showLabelInPill: true,
searchModes: [
{ id: 0, method: 'personModel.getListOfPersonsByText', name: 'common.labels.people', fields: { key: 'fullName', value: 'personId' } },
{ id: 1, method: 'searchModel.getListOfSupportGroupsByText', name: 'common.labels.supportGroup', fields: { key: 'name', value: 'id' } },
{ id: 2, method: 'searchModel.getOrganizationsByText', name: 'common.label.organization', fields: { key: 'name', value: 'attributeMap.id' } }
],
selectedSearchMode: { id: 0, method: 'personModel.getListOfPersonsByText', name: 'common.labels.people', fields: { key: 'fullName', value: 'personId' } },
options: [
{
name: 'me',
label: 'me',
type: 'constant',
criteria: {
name: 'approvedBy'
}
},
{
label: 'searchApprover',
type: 'search',
method: 'personModel.getListOfPersonsByText',
typeaheadTemplate: 'views/console/search-person-typeahead-template.html',
fields: {
key: 'fullName',
value: 'personId'
},
valueFormat: '{id: value}'
}
]
},
{
name: 'assetSubTypes',
label: 'assetSubType',
showLabelInPill: true,
options: []
},
{
name: 'companies',
label: 'company',
showLabelInPill: true,
options: [
{
label: 'searchCompany',
type: 'search',
method: 'searchModel.getListOfCompaniesByText',
typeaheadTemplate: 'views/console/general-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{name: value}'
}
]
},
{
name: 'cpu',
label: 'cpuCount',
assetType: ['Computer System'],
showLabelInPill: true,
options: [
{
label: 'cpuCountRange',
type: 'range',
subtype: 'range',
criteria: {
name: 'cpu',
value: [{ min: 1, max: 1 }]
}
}
]
},
{
name: 'createdBy',
label: 'createdBy',
showLabelInPill: true,
searchModes: [
{ id: 0, method: 'personModel.getListOfPersonsByText', name: 'common.labels.people', fields: { key: 'fullName', value: 'personId' } },
{ id: 1, method: 'searchModel.getListOfSupportGroupsByText', name: 'common.labels.supportGroup', fields: { key: 'name', value: 'id' } },
{ id: 2, method: 'searchModel.getOrganizationsByText', name: 'common.label.organization', fields: { key: 'name', value: 'attributeMap.id' } }
],
selectedSearchMode: { id: 0, method: 'personModel.getListOfPersonsByText', name: 'common.labels.people', fields: { key: 'fullName', value: 'personId' } },
options: [
{
name: 'me',
label: 'me',
type: 'constant',
criteria: {
name: 'createdBy'
}
},
{
label: 'searchCreator',
type: 'search',
method: 'personModel.getListOfPersonsByText',
typeaheadTemplate: 'views/console/search-person-typeahead-template.html',
fields: {
key: 'fullName',
value: 'personId'
},
valueFormat: '{id: value}'
}
]
},
{
name: 'floor',
label: 'floor',
showLabelInPill: true,
options: [
{
label: 'searchFloor',
type: 'search',
subtype: 'keyword'
}
]
},
{
name: 'managedBy',
label: 'managedBy',
showLabelInPill: true,
searchModes: [
{ id: 0, method: 'personModel.getListOfPersonsByText', name: 'common.labels.people', fields: { key: 'fullName', value: 'personId' } },
{ id: 1, method: 'searchModel.getListOfSupportGroupsByText', name: 'common.labels.supportGroup', fields: { key: 'name', value: 'id' } },
{ id: 2, method: 'searchModel.getOrganizationsByText', name: 'common.label.organization', fields: { key: 'name', value: 'attributeMap.id' } }
],
selectedSearchMode: { id: 0, method: 'personModel.getListOfPersonsByText', name: 'common.labels.people', fields: { key: 'fullName', value: 'personId' } },
options: [
{
name: 'me',
label: 'me',
type: 'constant',
criteria: {
name: 'managedBy'
}
},
{
label: 'searchManager',
type: 'search',
method: 'personModel.getListOfPersonsByText',
typeaheadTemplate: 'views/console/search-person-typeahead-template.html',
fields: {
key: 'fullName',
value: 'personId'
},
valueFormat: '{id: value}'
}
]
},
{
name: 'manufacturer',
label: 'manufacturer',
showLabelInPill: true,
options: [
{
label: 'searchManufacturer',
type: 'search',
method: 'searchModel.getFoundationManufacturersByText',
typeaheadTemplate: 'views/search/search-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: 'value'
}
]
},
{
name: 'model',
label: 'model',
showLabelInPill: true,
options: [
{
label: 'searchModel',
type: 'search',
subtype: 'keyword'
}
]
},
{
name: 'operatingSystem',
label: 'operatingSystem',
showLabelInPill: true,
assetType: ['Computer System'],
options: [
{
label: 'operatingSystem',
type: 'range',
subtype: 'range',
criteria: {
name: 'operatingSystem'
},
criteriaKeys: [
{
name: 'manufacturer',
label: 'console.filter.name.manufacturer',
method: 'searchModel.getFoundationManufacturersByText',
valueFormat: 'value',
fields: {
key: 'name',
value: 'name'
},
operators: [{ name: 'console.filter.optionName.is', id: 1 }],
selectedOperator: { name: 'console.filter.optionName.is', id: 1 },
typeaheadTemplate: 'views/search/search-typeahead-template.html',
type: 'search'
},
{
name: 'productName',
label: 'console.column.productName',
method: 'parentScope.getProductCategoriesByCompany',
valueFormat: '{categorizations: categorizations}',
fields: {
key: 'value',
value: ''
},
operators: [{ name: 'console.filter.optionName.is', id: 1 }],
selectedOperator: { name: 'console.filter.optionName.is', id: 1 },
typeaheadTemplate: 'views/search/search-typeahead-template.html',
type: 'search',
menuPositionShift: true
},
{
name: 'version',
label: 'console.column.version',
placeholder: 'console.filter.optionName.version',
operators: [{ name: 'console.filter.optionName.is', id: 1 }, { name: 'console.filter.optionName.isnot', id: 6 }, { name: 'console.filter.optionName.like', id: 7 }],
selectedOperator: { name: 'console.filter.optionName.is', id: 1 },
type: 'keyword'
}
]
}
]
},
{
name: 'owners',
label: 'owner',
showLabelInPill: true,
searchModes: [
{ id: 0, method: 'personModel.getListOfPersonsByText', name: 'common.labels.people', fields: { key: 'fullName', value: 'personId' } },
{ id: 1, method: 'searchModel.getListOfSupportGroupsByText', name: 'common.labels.supportGroup', fields: { key: 'name', value: 'id' } },
{ id: 2, method: 'searchModel.getOrganizationsByText', name: 'common.label.organization', fields: { key: 'name', value: 'attributeMap.id' } }
],
selectedSearchMode: { id: 0, method: 'personModel.getListOfPersonsByText', name: 'common.labels.people', fields: { key: 'fullName', value: 'personId' } },
options: [
{
name: 'me',
label: 'me',
type: 'constant',
criteria: {
name: 'owners'
}
},
{
label: 'searchOwner',
type: 'search',
method: 'personModel.getListOfPersonsByText',
typeaheadTemplate: 'views/console/search-person-typeahead-template.html',
fields: {
key: 'fullName',
value: 'personId'
},
valueFormat: '{id: value}'
}
]
},
{
name: 'processor',
label: 'processor',
showLabelInPill: true,
assetType: ['Computer System'],
options: [
{
label: 'processor',
type: 'range',
subtype: 'range',
criteria: {
name: 'processor'
},
criteriaKeys: [
{
name: 'manufacturer',
label: 'console.filter.name.manufacturer',
method: 'searchModel.getFoundationManufacturersByText',
valueFormat: 'value',
fields: {
key: 'name',
value: 'name'
},
operators: [{ name: 'console.filter.optionName.is', id: 1 }],
selectedOperator: { name: 'console.filter.optionName.is', id: 1 },
typeaheadTemplate: 'views/search/search-typeahead-template.html',
type: 'search'
},
{
name: 'productName',
label: 'console.column.productName',
method: 'parentScope.getProductCategoriesByCompany',
valueFormat: '{categorizations: categorizations}',
fields: {
key: 'value',
value: ''
},
operators: [{ name: 'console.filter.optionName.is', id: 1 }],
selectedOperator: { name: 'console.filter.optionName.is', id: 1 },
typeaheadTemplate: 'views/search/search-typeahead-template.html',
type: 'search',
menuPositionShift: true
},
{
name: 'speed',
label: 'console.column.speed',
placeholder: 'console.filter.optionName.speed',
operators: [{ name: '=', id: 1 }, { name: '>=', id: 3 }, { name: '<=', id: 5 }],
selectedOperator: { name: '=', id: 1 },
type: 'keyword',
valueIsNumber: true
}
]
}
]
},
{
name: 'products',
label: 'product',
showLabelInPill: true,
options: [
{
label: 'searchProducts',
type: 'search',
method: 'parentScope.getProductCategoriesByCompany',
typeaheadTemplate: 'views/search/search-typeahead-template.html',
fields: {
key: 'value',
value: ''
},
valueFormat: '{categorizations: categorizations}'
}
]
},
{
name: 'region',
label: 'region',
showLabelInPill: true,
options: [
{
label: 'myRegion',
name: 'myRegion',
type: 'constant',
criteria: {
name: 'region'
}
},
{
label: 'searchRegion',
type: 'search',
method: 'searchModel.getFoundationRegionsByText',
typeaheadTemplate: 'views/search/search-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{region: value, companyName: companyName}'
}
]
},
{
name: 'room',
label: 'room',
showLabelInPill: true,
options: [
{
label: 'searchRoom',
type: 'search',
subtype: 'keyword'
}
]
},
{
name: 'siteGroup',
label: 'siteGroup',
showLabelInPill: true,
options: [
{
label: 'mySiteGroup',
name: 'mySiteGroup',
type: 'constant',
criteria: {
name: 'siteGroup'
}
},
{
label: 'searchSiteGroup',
type: 'search',
method: 'searchModel.getFoundationSiteGroupsByText',
typeaheadTemplate: 'views/search/search-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{siteGroup: value, region: regionName, companyName: companyName}'
}
]
},
{
name: 'sites',
label: 'site',
showLabelInPill: true,
options: [
{
label: 'mySite',
name: 'mySite',
type: 'constant',
criteria: {
name: 'sites'
}
},
{
label: 'searchSite',
type: 'search',
method: 'searchModel.getFoundationSitesByText',
typeaheadTemplate: 'views/console/site-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{name: value, siteGroup: siteGroupName, region: regionName, companyName: companyName}'
}
]
},
{
name: 'rack',
label: 'rack',
showLabelInPill: true,
assetType: ['Computer System'],
options: [
{
label: 'searchRack',
type: 'search',
subtype: 'keyword'
}
]
},
{
name: 'ticketSpecificStatuses',
label: 'statuses',
options: []
},
{
name: 'supportedBy',
label: 'supportedBy',
showLabelInPill: true,
searchModes: [
{ id: 0, method: 'personModel.getListOfPersonsByText', name: 'common.labels.people', fields: { key: 'fullName', value: 'personId' } },
{ id: 1, method: 'searchModel.getListOfSupportGroupsByText', name: 'common.labels.supportGroup', fields: { key: 'name', value: 'id' } },
{ id: 2, method: 'searchModel.getOrganizationsByText', name: 'common.label.organization', fields: { key: 'name', value: 'attributeMap.id' } }
],
selectedSearchMode: { id: 0, method: 'personModel.getListOfPersonsByText', name: 'common.labels.people', fields: { key: 'fullName', value: 'personId' } },
options: [
{
name: 'me',
label: 'me',
type: 'constant',
criteria: {
name: 'supportedBy'
}
},
{
label: 'searchSupporter',
type: 'search',
method: 'personModel.getListOfPersonsByText',
typeaheadTemplate: 'views/console/search-person-typeahead-template.html',
fields: {
key: 'fullName',
value: 'personId'
},
valueFormat: '{id: value}'
}
]
},
{
name: 'usedBy',
label: 'usedBy',
showLabelInPill: true,
searchModes: [
{ id: 0, method: 'personModel.getListOfPersonsByText', name: 'common.labels.people', fields: { key: 'fullName', value: 'personId' } },
{ id: 1, method: 'searchModel.getListOfSupportGroupsByText', name: 'common.labels.supportGroup', fields: { key: 'name', value: 'id' } },
{ id: 2, method: 'searchModel.getOrganizationsByText', name: 'common.label.organization', fields: { key: 'name', value: 'attributeMap.id' } }
],
selectedSearchMode: { id: 0, method: 'personModel.getListOfPersonsByText', name: 'common.labels.people', fields: { key: 'fullName', value: 'personId' } },
options: [
{
name: 'me',
label: 'me',
type: 'constant',
criteria: {
name: 'usedBy'
}
},
{
label: 'searchUser',
type: 'search',
method: 'personModel.getListOfPersonsByText',
typeaheadTemplate: 'views/console/search-person-typeahead-template.html',
fields: {
key: 'fullName',
value: 'personId'
},
valueFormat: '{id: value}'
}
]
},
{
name: 'supplier',
label: 'supplier',
showLabelInPill: true,
options: [
{
label: 'searchSupplier',
type: 'search',
method: 'searchModel.getFoundationSuppliersByText',
typeaheadTemplate: 'views/search/search-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: 'value'
}
]
}
],
assetGraphExplorerFilter: assetGraphExplorerFilter,
assetListExplorerFilter: assetListExplorerFilter,
filter: [
{
name: 'custom',
label: 'savedCISearches',
options: []
},
{
name: 'assetTypes',
label: 'ciType',
options: []
},
{
name: 'companies',
label: 'searchCompanies',
options: [
{
label: 'searchCompanies',
type: 'search',
method: 'searchModel.getListOfCompaniesByText',
typeaheadTemplate: 'views/console/general-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{name: value}'
}
]
},
{
name: 'owners',
label: 'owner',
options: [
{
label: 'searchOwners',
type: 'search',
method: 'personModel.getListOfPersonNamesByText',
typeaheadTemplate: 'views/search/search-typeahead-template.html',
fields: {
key: 'fullName',
value: 'loginId'
},
valueFormat: '{loginId: value}'
}
]
},
{
name: 'products',
label: 'product',
options: [
{
label: 'searchProducts',
type: 'search',
method: 'parentScope.getProductCategoriesByCompany',
typeaheadTemplate: 'views/search/search-typeahead-template.html',
fields: {
key: 'value',
value: ''
},
valueFormat: '{categorizations: categorizations}'
}
]
},
{
name: 'region',
label: 'region',
options: [
{
label: 'myRegion',
name: 'myRegion',
type: 'constant',
criteria: {
name: 'region'
}
},
{
label: 'searchRegion',
type: 'search',
method: 'searchModel.getFoundationRegionsByText',
typeaheadTemplate: 'views/search/search-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{region: value, companyName: companyName}'
}
]
},
{
name: 'siteGroup',
label: 'siteGroup',
options: [
{
label: 'mySiteGroup',
name: 'mySiteGroup',
type: 'constant',
criteria: {
name: 'siteGroup'
}
},
{
label: 'searchSiteGroup',
type: 'search',
method: 'searchModel.getFoundationSiteGroupsByText',
typeaheadTemplate: 'views/search/search-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{siteGroup: value, region: regionName, companyName: companyName}'
}
]
},
{
name: 'sites',
label: 'site',
options: [
{
label: 'mySite',
name: 'mySite',
type: 'constant',
criteria: {
name: 'sites'
}
},
{
label: 'searchSite',
type: 'search',
method: 'searchModel.getFoundationSitesByText',
typeaheadTemplate: 'views/search/search-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{name: value, siteGroup: siteGroupName, region: regionName, companyName: companyName}'
}
]
},
{
name: 'ticketSpecificStatuses',
label: 'statuses',
options: []
}
],
createOutageFilter: [
{
name: 'assetTypes',
label: 'ciType',
options: []
},
{
name: 'products',
label: 'product',
options: [
{
label: 'searchProducts',
type: 'search',
method: 'parentScope.getProductCategoriesByCompany',
fields: {
key: 'value',
value: ''
},
valueFormat: '{categorizations: categorizations}'
}
]
},
{
name: 'sites',
label: 'site',
options: [
{
label: 'mySite',
name: 'mySite',
type: 'constant',
criteria: {
name: 'sites'
}
},
{
label: 'searchSite',
type: 'search',
method: 'searchModel.getFoundationSitesByText',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{name: value, siteGroup: siteGroupName, region: regionName, companyName: companyName}'
}
]
},
{
name: 'statuses',
label: 'statuses',
options: []
}
]
},
foundation: {
company: {},
site: {
label: 'site',
fdFields: {
company: {
label: 'company',
name: 'company',
searchOptionName: 'companyName',
connected: null,
visible: true,
required: false,
index: 0 // int, ordering
},
region: {
label: 'region',
name: 'region',
searchOptionName: 'regionName',
connected: null,
visible: true,
required: false,
index: 1
},
siteGroup: {
label: 'siteGroup',
name: 'siteGroup',
searchOptionName: 'siteGroupName',
connected: null,
visible: true,
required: false,
index: 2
},
site: {
label: 'site',
name: 'site',
searchOptionName: 'site',
connected: null,
visible: true,
required: false,
index: 3
}
}
},
organization: {
label: 'organization',
fdFields: {
company: {
label: 'company',
name: 'company',
searchOptionName: 'companyName',
connected: null,
visible: true,
required: false,
index: 0
},
organization: {
label: 'organization',
name: 'organization',
searchOptionName: 'organizationName',
connected: null,
visible: true,
required: false,
index: 1
},
department: {
label: 'department',
name: 'department',
searchOptionName: 'department',
connected: null,
visible: true,
required: false,
index: 2
}
}
}
},
change: {
dashboardStats: [
{
name: 'mytickets',
label: 'my',
filterSetup: [
{ filter: 'assignees', option: 'me' }
]
},
{
name: 'Critical',
label: 'critical',
filterSetup: [
{ filter: 'priorities', option: 'critical' }
]
},
{
name: 'new',
label: 'new',
filterSetup: [
{ filter: 'createDateRanges', option: 'createDatePast24' }
]
},
{
name: 'open',
label: 'open',
filterSetup: [
{ filter: 'statuses', option: 'allOpen' }
]
},
{
name: 'total',
label: 'all'
}
],
collisionFilter: [
{
name: 'affectedBusinessServices',
label: 'affectedService',
options: [
{
label: 'search',
type: 'search',
method: 'searchModel.searchBusinessServiceByKeyword',
typeaheadTemplate: 'views/search/search-typeahead-template.html',
fields: {
key: 'name',
value: 'reconciliationId'
},
valueFormat: '{reconciliationId: value}'
}
]
},
{
name: 'products',
label: 'product',
options: [
{
label: 'searchProducts',
type: 'search',
method: 'parentScope.getProductCategoriesByCompany',
typeaheadTemplate: 'views/search/search-typeahead-template.html',
fields: {
key: 'value',
value: ''
},
valueFormat: '{categorizations: categorizations}'
}
]
},
{
name: 'organizations',
label: 'organization',
options: [
{
label: 'searchOrganization',
type: 'search',
method: 'searchModel.getOrganizationsByText',
typeaheadTemplate: 'views/console/general-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: 'value'
}
]
},
{
name: 'companies',
label: 'searchCompanies',
options: [
{
label: 'searchCompanies',
type: 'search',
method: 'searchModel.getListOfCompaniesByText',
typeaheadTemplate: 'views/console/general-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{name: value}'
}
]
},
{
name: 'assignees',
label: 'changeCoordinator',
showLabelInPill: true,
options: [
{
label: 'searchAssignee',
type: 'search',
method: 'personModel.getListOfChangeCoordinatorByText',
typeaheadTemplate: 'views/console/search-person-typeahead-template.html',
fields: {
key: 'fullName',
value: 'loginId'
},
valueFormat: '{loginId: value}'
}
]
},
{
name: 'assignedSupportGroups',
label: 'changeCoordinatorGroup',
showLabelInPill: true,
options: [
{
label: 'searchAssigneeGroup',
type: 'search',
method: 'searchModel.getChangeCoordinatorGroupsByText',
typeaheadTemplate: 'views/console/general-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{name: value}'
}
]
},
{
name: 'changeManager',
label: 'changeManager',
showLabelInPill: true,
options: [
{
label: 'searchAssignee',
type: 'search',
method: 'personModel.getListOfChangeManagerByText',
typeaheadTemplate: 'views/console/search-person-typeahead-template.html',
fields: {
key: 'fullName',
value: 'loginId'
},
valueFormat: '{loginId: value}'
}
]
},
{
name: 'changeManagerGroup',
label: 'changeManagerGroup',
showLabelInPill: true,
options: [
{
label: 'searchAssigneeGroup',
type: 'search',
method: 'searchModel.getChangeManagerGroupsByText',
typeaheadTemplate: 'views/console/general-typeahead-template.html',
fields: {
key: 'name',
value: 'name'
},
valueFormat: '{name: value}'
}
]
},
{
name: 'ticketSpecificStatuses',
label: 'statuses',
options: []
},
{
name: 'priorities',
label: 'priority',
options: []
}
]
},
'requiredFields': {
change: {
'Emergency': {
'Draft': [],
'Request For Authorization': [],
'Request For Change': [],
'Planning In Progress': ['managerGroup'],
'Scheduled For Review': ['scheduledStartDate', 'scheduledEndDate', 'managerGroup', 'manager'],
'Scheduled For Approval': ['scheduledStartDate', 'scheduledEndDate', 'managerGroup', 'manager'],
'Scheduled': ['scheduledStartDate', 'scheduledEndDate', 'managerGroup', 'manager'],
'Implementation In Progress': ['scheduledStartDate', 'scheduledEndDate', 'managerGroup'],
'Pending': ['statusReason'],
'Rejected': [],
'Completed': ['scheduledStartDate', 'scheduledEndDate', 'actualStartDate', 'actualEndDate', 'managerGroup'],
'Closed': ['scheduledStartDate', 'scheduledEndDate', 'actualStartDate', 'actualEndDate', 'managerGroup', 'statusReason'],
'Cancelled': []
},
'Expedited': {
'Draft': ['timingReason'],
'Request For Authorization': [],
'Request For Change': [],
'Planning In Progress': ['managerGroup'],
'Scheduled For Review': ['scheduledStartDate', 'scheduledEndDate', 'managerGroup', 'manager'],
'Scheduled For Approval': ['scheduledStartDate', 'scheduledEndDate', 'managerGroup', 'manager'],
'Scheduled': ['scheduledStartDate', 'scheduledEndDate', 'managerGroup', 'manager'],
'Implementation In Progress': ['scheduledStartDate', 'scheduledEndDate', 'managerGroup'],
'Pending': ['statusReason'],
'Rejected': [],
'Completed': ['scheduledStartDate', 'scheduledEndDate', 'actualStartDate', 'actualEndDate', 'managerGroup'],
'Closed': ['scheduledStartDate', 'scheduledEndDate', 'actualStartDate', 'actualEndDate', 'managerGroup', 'statusReason'],
'Cancelled': []
},
'Latent': {
'Draft': ['actualStartDate', 'actualEndDate'],
'Request For Authorization': ['actualStartDate', 'actualEndDate'],
'Request For Change': ['actualStartDate', 'actualEndDate'],
'Planning In Progress': ['actualStartDate', 'actualEndDate', 'managerGroup'],
'Scheduled For Review': ['actualStartDate', 'actualEndDate', 'managerGroup', 'manager'],
'Scheduled For Approval': ['actualStartDate', 'actualEndDate', 'managerGroup', 'manager'],
'Scheduled': ['actualStartDate', 'actualEndDate', 'managerGroup', 'manager'],
'Implementation In Progress': ['actualStartDate', 'actualEndDate', 'managerGroup'],
'Pending': ['statusReason'],
'Rejected': [],
'Completed': ['actualStartDate', 'actualEndDate', 'managerGroup'],
'Closed': ['actualStartDate', 'actualEndDate', 'managerGroup', 'statusReason'],
'Cancelled': []
},
'Normal': {
'Draft': [],
'Request For Authorization': [],
'Request For Change': [],
'Planning In Progress': ['managerGroup'],
'Scheduled For Review': ['scheduledStartDate', 'scheduledEndDate', 'managerGroup', 'manager'],
'Scheduled For Approval': ['scheduledStartDate', 'scheduledEndDate', 'managerGroup', 'manager'],
'Scheduled': ['scheduledStartDate', 'scheduledEndDate', 'managerGroup', 'manager'],
'Implementation In Progress': ['scheduledStartDate', 'scheduledEndDate', 'managerGroup'],
'Pending': ['statusReason'],
'Rejected': [],
'Completed': ['scheduledStartDate', 'scheduledEndDate', 'actualStartDate', 'actualEndDate', 'managerGroup'],
'Closed': ['scheduledStartDate', 'scheduledEndDate', 'actualStartDate', 'actualEndDate', 'managerGroup', 'statusReason'],
'Cancelled': []
},
'No Impact': {
'Draft': [],
'Request For Authorization': [],
'Request For Change': ['scheduledStartDate', 'scheduledEndDate'],
'Planning In Progress': ['scheduledStartDate', 'scheduledEndDate', 'managerGroup'],
'Scheduled For Review': ['scheduledStartDate', 'scheduledEndDate', 'managerGroup', 'manager'],
'Scheduled For Approval': ['scheduledStartDate', 'scheduledEndDate', 'managerGroup', 'manager'],
'Scheduled': ['scheduledStartDate', 'scheduledEndDate', 'managerGroup', 'manager'],
'Implementation In Progress': ['scheduledStartDate', 'scheduledEndDate', 'managerGroup'],
'Pending': ['statusReason'],
'Rejected': [],
'Completed': ['scheduledStartDate', 'scheduledEndDate', 'actualStartDate', 'actualEndDate', 'managerGroup'],
'Closed': ['scheduledStartDate', 'scheduledEndDate', 'actualStartDate', 'actualEndDate', 'managerGroup', 'statusReason'],
'Cancelled': []
},
'Standard': {
'Draft': [],
'Request For Authorization': [],
'Request For Change': [],
'Planning In Progress': ['managerGroup'],
'Scheduled For Review': ['scheduledStartDate', 'scheduledEndDate', 'managerGroup', 'manager'],
'Scheduled For Approval': ['scheduledStartDate', 'scheduledEndDate', 'managerGroup', 'manager'],
'Scheduled': ['scheduledStartDate', 'scheduledEndDate', 'managerGroup', 'manager'],
'Implementation In Progress': ['scheduledStartDate', 'scheduledEndDate', 'managerGroup'],
'Pending': ['statusReason'],
'Rejected': [],
'Completed': ['scheduledStartDate', 'scheduledEndDate', 'actualStartDate', 'actualEndDate', 'managerGroup'],
'Closed': ['scheduledStartDate', 'scheduledEndDate', 'actualStartDate', 'actualEndDate', 'managerGroup', 'statusReason'],
'Cancelled': []
}
},
problem: {
'Draft': [],
'Under Review': ['targetDate'],
'Assigned': ['coordinator', 'targetDate', 'supportGroup'],
'Under Investigation': ['coordinator', 'targetDate', 'assignee'],
'Pending': ['statusReason'],
'Completed': ['coordinator', 'targetDate', 'assignee', 'statusReason'],
'Closed': ['coordinator', 'targetDate', 'assignee'],
'Cancelled': ['coordinator', 'supportGroup']
},
incident: {
'New': [],
'Assigned': [],
'In Progress': [],
'Pending': ['statusReason'],
'Resolved': ['statusReason']
},
task: {
'Closed': ['statusReason']
},
release: {
'Pending': ['statusReason']
}
},
'disabledFields': {
change: {
'Emergency': {
'Draft': ['targetDate'],
'Request For Authorization': ['targetDate'],
'Request For Change': ['targetDate'],
'Planning In Progress': ['targetDate'],
'Scheduled For Review': ['targetDate'],
'Scheduled For Approval': ['targetDate'],
'Scheduled': ['targetDate'],
'Implementation In Progress': ['targetDate'],
'Pending': ['targetDate'],
'Rejected': ['targetDate'],
'Completed': ['targetDate'],
'Closed': ['targetDate'],
'Cancelled': ['targetDate']
},
'Latent': {
'Draft': ['scheduledStartDate', 'scheduledEndDate', 'targetDate'],
'Request For Authorization': ['scheduledStartDate', 'scheduledEndDate', 'targetDate'],
'Request For Change': ['scheduledStartDate', 'scheduledEndDate', 'targetDate'],
'Planning In Progress': ['scheduledStartDate', 'scheduledEndDate', 'targetDate'],
'Scheduled For Review': ['scheduledStartDate', 'scheduledEndDate', 'targetDate'],
'Scheduled For Approval': ['scheduledStartDate', 'scheduledEndDate', 'targetDate'],
'Scheduled': ['scheduledStartDate', 'scheduledEndDate', 'targetDate'],
'Implementation In Progress': ['scheduledStartDate', 'scheduledEndDate', 'targetDate'],
'Pending': ['scheduledStartDate', 'scheduledEndDate', 'targetDate'],
'Rejected': ['scheduledStartDate', 'scheduledEndDate', 'targetDate'],
'Completed': ['scheduledStartDate', 'scheduledEndDate', 'targetDate'],
'Closed': ['scheduledStartDate', 'scheduledEndDate', 'targetDate'],
'Cancelled': []
},
'No Impact': {
'Draft': ['targetDate'],
'Request For Authorization': ['targetDate'],
'Request For Change': ['targetDate'],
'Planning In Progress': ['targetDate'],
'Scheduled For Review': ['targetDate'],
'Scheduled For Approval': ['targetDate'],
'Scheduled': ['targetDate'],
'Implementation In Progress': ['targetDate'],
'Pending': ['targetDate'],
'Rejected': ['targetDate'],
'Completed': ['targetDate'],
'Closed': ['targetDate'],
'Cancelled': ['targetDate']
}
}
},
ootbFieldValueMap: {
incident: {
templateId: {
fieldName: 'incidentTemplate',
path: 'templateId'
},
templateName: {
fieldName: 'incidentTemplate',
path: 'templateName'
},
priority: {
fieldName: 'priority',
path: 'priority.name'
},
impact: {
fieldName: 'priority',
path: 'impact.name'
},
urgency: {
fieldName: 'priority',
path: 'urgency.name'
},
locationCompany: {
fieldName: 'locationCompany',
path: 'locationCompany'
},
organization: {
fieldName: 'organization',
path: 'organization'
},
firstName: {
fieldName: 'customer',
path: 'firstName'
},
customerPersonId: {
fieldName: 'customer',
path: 'personId'
},
customerCompany: {
fieldName: 'customer',
path: 'company.name'
},
customerLoginId: {
fieldName: 'customer',
path: 'loginId'
},
lastName: {
fieldName: 'customer',
path: 'lastName'
},
customerVIPFlag: {
fieldName: 'customer',
path: 'isVIP'
},
internetEmail: {
fieldName: 'customerEmail',
path: 'internetEmail'
},
phoneNumber: {
fieldName: 'customerPhone',
path: 'phoneNumber'
},
contactCountry: {
fieldName: 'contact',
path: 'site.address.country'
},
contactEmail: {
fieldName: 'contactEmail',
path: 'contactEmail'
},
contactSite: {
fieldName: 'contact',
path: 'site.name'
},
contactLoginId: {
fieldName: 'contact',
path: 'loginId'
},
contactCity: {
fieldName: 'contact',
path: 'site.address.city'
},
contactLastName: {
fieldName: 'contact',
path: 'lastName'
},
contactPhoneNumber: {
fieldName: 'contactPhone',
path: 'contactPhoneNumber'
},
contactSiteGroup: {
fieldName: 'contact',
path: 'site.siteGroup'
},
contactCompany: {
fieldName: 'contact',
path: 'company.name'
},
contactFirstName: {
fieldName: 'contact',
path: 'firstName'
},
contactStreet: {
fieldName: 'contact',
path: 'site.address.street'
},
contactPersonId: {
fieldName: 'contact',
path: 'personId'
},
contactZip: {
fieldName: 'contact',
path: 'site.address.zip'
},
contactState: {
fieldName: 'contact',
path: 'site.address.state'
},
contactOrganization: {
fieldName: 'contact',
path: 'organization'
},
contactRegion: {
fieldName: 'contact',
path: 'site.region'
},
siteGroup: {
fieldName: 'site',
path: 'siteGroup.name'
},
region: {
fieldName: 'site',
path: 'region.name'
},
site: {
fieldName: 'site',
path: 'site.name'
},
country: {
fieldName: 'site',
path: 'attributeMap.siteAddress.country'
},
state: {
fieldName: 'site',
path: 'attributeMap.siteAddress.state'
},
city: {
fieldName: 'site',
path: 'attributeMap.siteAddress.city'
},
zipPostalCode: {
fieldName: 'site',
path: 'attributeMap.siteAddress.zip'
},
street: {
fieldName: 'site',
path: 'attributeMap.siteAddress.street'
},
serviceCIReconId: {
fieldName: 'impactedService',
path: 'ci.reconciliationId'
},
impactedService: {
fieldName: 'impactedService',
path: 'ci.name'
},
CI_reconid: {
fieldName: 'causalCI',
path: 'ci.reconciliationId'
},
CI_reconciliationId: {
fieldName: 'causalCI',
path: 'ci.reconciliationId'
},
causalCI: {
fieldName: 'causalCI',
path: 'ci.name'
},
affectedCIClassId: {
fieldName: 'causalCI',
path: 'ci.classId'
},
serviceType: {
fieldName: 'serviceType',
path: 'serviceType'
},
assignee: {
fieldName: 'assignee',
path: 'fullName'
},
assigneeLoginId: {
fieldName: 'assignee',
path: 'loginId'
},
assigneeComp: {
fieldName: 'assignee',
path: 'company.name'
},
assigneeOrg: {
fieldName: 'assignee',
path: 'organization'
},
supportGroups: {
fieldName: 'assigneeSupportGroups',
path: 'supportGroups'
},
assignedGroup: {
fieldName: 'assigneeSupportGroups',
path: 'id'
},
assignedSupportCompany: {
fieldName: 'assigneeSupportGroups',
path: 'company.name'
},
assignedSupportOrganization: {
fieldName: 'assigneeSupportGroups',
path: 'organization'
},
desc: {
fieldName: 'desc',
path: 'desc'
},
status: {
fieldName: 'status',
path: 'value'
},
statusReason: {
fieldName: 'status',
path: 'reason'
}
},
change: {
priority: {
fieldName: 'priority',
path: 'priority.name'
},
impact: {
fieldName: 'priority',
path: 'impact.name'
},
urgency: {
fieldName: 'priority',
path: 'urgency.name'
},
locationCompany: {
fieldName: 'locationCompany',
path: 'locationCompany'
},
organization: {
fieldName: 'organization',
path: 'organization'
},
serviceCIReconId: {
fieldName: 'impactedService',
path: 'ci.reconciliationId'
},
impactedService: {
fieldName: 'impactedService',
path: 'ci.name'
},
CI_reconid: {
fieldName: 'causalCI',
path: 'ci.reconciliationId'
},
causalCI: {
fieldName: 'causalCI',
path: 'ci.name'
},
affectedCIClassId: {
fieldName: 'causalCI',
path: 'ci.classId'
},
serviceType: {
fieldName: 'serviceType',
path: 'serviceType'
},
desc: {
fieldName: 'desc',
path: 'desc'
},
status: {
fieldName: 'status',
path: 'value'
},
statusReason: {
fieldName: 'status',
path: 'reason'
},
timing: {
fieldName: 'changeClass',
path: 'timing'
},
timingReason: {
fieldName: 'changeClass',
path: 'timingReason'
},
siteRegion: {
fieldName: 'changeLocation',
path: 'region'
},
siteGroup: {
fieldName: 'changeLocation',
path: 'siteGroup'
},
siteName: {
fieldName: 'changeLocation',
path: 'name'
},
siteId: {
fieldName: 'changeLocation',
path: 'siteId'
},
assigneeName: {
fieldName: 'changeCoordinator',
path: 'fullName'
},
assigneeLoginId: {
fieldName: 'changeCoordinator',
path: 'loginId'
},
assigneeCompany: {
fieldName: 'changeCoordinator',
path: 'company.name'
},
assigneeOrganization: {
fieldName: 'changeCoordinator',
path: 'organization'
},
assigneeGroup: {
fieldName: 'changeCoordinatorSupportGroups',
path: 'name'
},
assigneeGroupId: {
fieldName: 'changeCoordinatorSupportGroups',
path: 'id'
},
managerName: {
fieldName: 'changeManager',
path: 'fullName'
},
managerLoginId: {
fieldName: 'changeManager',
path: 'loginId'
},
managerGroup: {
fieldName: 'changeManagerSupportGroups',
path: 'name'
},
managerGroupId: {
fieldName: 'changeManagerSupportGroups',
path: 'id'
},
managerCompany: {
fieldName: 'changeManagerSupportGroups',
path: 'company.name'
},
riskLevel: {
fieldName: 'changeRisk',
path: 'riskLevel'
},
scheduledStartDate: {
fieldName: 'scheduledDates',
path: 'scheduledStartDate'
},
scheduledEndDate: {
fieldName: 'scheduledDates',
path: 'scheduledEndDate'
},
actualStartDate: {
fieldName: 'actualDates',
path: 'actualStartDate'
},
actualEndDate: {
fieldName: 'actualDates',
path: 'actualEndDate'
},
targetDate: {
fieldName: 'targetDate',
path: 'targetDate'
},
customerFirstName: {
fieldName: 'requestedFor',
path: 'firstName'
},
customerLastName: {
fieldName: 'requestedFor',
path: 'lastName'
},
customerDepartment: {
fieldName: 'requestedFor',
path: 'department'
},
customerEmail: {
fieldName: 'customerEmail',
path: 'customerEmail'
},
customerPhone: {
fieldName: 'customerPhone',
path: 'customerPhone'
}
},
workorder: {
templateId: {
fieldName: 'workorderTemplate',
path: 'templateId'
},
templateName: {
fieldName: 'workorderTemplate',
path: 'templateName'
},
priority: {
fieldName: 'priority',
path: 'priority.name'
},
locationCompany: {
fieldName: 'locationCompany',
path: 'locationCompany'
},
organization: {
fieldName: 'organization',
path: 'organization'
},
customerFirstName: {
fieldName: 'customer',
path: 'firstName'
},
customerPersonId: {
fieldName: 'customer',
path: 'personId'
},
customerLoginId: {
fieldName: 'customer',
path: 'loginId'
},
customerLastName: {
fieldName: 'customer',
path: 'lastName'
},
customerCompany: {
fieldName: 'customer',
path: 'company.name'
},
customerVIPFlag: {
fieldName: 'customer',
path: 'isVIP'
},
customerInternetEmail: {
fieldName: 'customerEmail',
path: 'customerInternetEmail'
},
customerPhone: {
fieldName: 'customerPhone',
path: 'customerPhone'
},
contactInternetEmail: {
fieldName: 'contactEmail',
path: 'contactInternetEmail'
},
contactLoginId: {
fieldName: 'contact',
path: 'loginId'
},
contactLastName: {
fieldName: 'contact',
path: 'lastName'
},
contactPhone: {
fieldName: 'contactPhone',
path: 'contactPhone'
},
contactCompany: {
fieldName: 'contact',
path: 'company.name'
},
contactFirstName: {
fieldName: 'contact',
path: 'firstName'
},
contactPersonId: {
fieldName: 'contact',
path: 'personId'
},
contactOrg: {
fieldName: 'contact',
path: 'organization'
},
locationSiteGroup: {
fieldName: 'site',
path: 'siteGroup.name'
},
locationRegion: {
fieldName: 'site',
path: 'region.name'
},
locationSite: {
fieldName: 'site',
path: 'site.name'
},
serviceCIReconId: {
fieldName: 'impactedService',
path: 'ci.reconciliationId'
},
impactedService: {
fieldName: 'impactedService',
path: 'ci.name'
},
assigneeName: {
fieldName: 'assignee',
path: 'fullName'
},
assigneeLoginId: {
fieldName: 'assignee',
path: 'loginId'
},
assigneeCompany: {
fieldName: 'assignee',
path: 'company.name'
},
assigneeOrg: {
fieldName: 'assignee',
path: 'organization'
},
assigneeGroup: {
fieldName: 'assigneeSupportGroups',
path: 'supportGroups'
},
assigneeGroupId: {
fieldName: 'assigneeSupportGroups',
path: 'id'
},
managerName: {
fieldName: 'requestManager',
path: 'fullName'
},
managerLoginId: {
fieldName: 'requestManager',
path: 'loginId'
},
managerCompany: {
fieldName: 'requestManager',
path: 'company.name'
},
managerGroupId: {
fieldName: 'requestManagerSupportGroups',
path: 'id'
},
managerGroup: {
fieldName: 'requestManagerSupportGroups',
path: 'supportGroups'
},
desc: {
fieldName: 'desc',
path: 'desc'
},
status: {
fieldName: 'status',
path: 'value'
},
statusReason: {
fieldName: 'status',
path: 'reason'
},
scheduledStartDate: {
fieldName: 'scheduledDates',
path: 'scheduledStartDate'
},
scheduledEndDate: {
fieldName: 'scheduledDates',
path: 'scheduledEndDate'
},
actualStartDate: {
fieldName: 'actualDates',
path: 'actualStartDate'
},
actualEndDate: {
fieldName: 'actualDates',
path: 'actualEndDate'
}
},
task: {
templateId: {
fieldName: 'taskTemplate',
path: 'templateId'
},
templateName: {
fieldName: 'taskTemplate',
path: 'templateName'
},
priority: {
fieldName: 'priority',
path: 'priority.name'
},
assigneeName: {
fieldName: 'assignee',
path: 'fullName'
},
assigneeLoginId: {
fieldName: 'assignee',
path: 'loginId'
},
assigneeCompany: {
fieldName: 'assignee',
path: 'company.name'
},
assigneeOrg: {
fieldName: 'assignee',
path: 'organization'
},
assigneeGroup: {
fieldName: 'assigneeSupportGroups',
path: 'supportGroups'
},
assigneeGroupId: {
fieldName: 'assigneeSupportGroups',
path: 'id'
},
desc: {
fieldName: 'desc',
path: 'desc'
},
taskStatus: {
fieldName: 'status',
path: 'value'
},
taskStatusReason: {
fieldName: 'status',
path: 'reason'
},
scheduledStartDate: {
fieldName: 'scheduledDates',
path: 'scheduledStartDate'
},
scheduledEndDate: {
fieldName: 'scheduledDates',
path: 'scheduledEndDate'
},
actualStartDate: {
fieldName: 'actualDates',
path: 'actualStartDate'
},
actualEndDate: {
fieldName: 'actualDates',
path: 'actualEndDate'
}
}
},
widgetFieldMap: {
contact: [
'contactFirstName', 'contactPersonId', 'contactLastName', 'contactPhoneNumber', 'contactLoginId', 'contactOrganization', 'contactEmail'
],
customer: [
'customerPersonId', 'firstName', 'phoneNumber', 'customerLoginId', 'lastName', 'customerVIPFlag', 'internetEmail', 'organization'
],
site: [
'country', 'state', 'region', 'city', 'zipPostalCode', 'street', 'site', 'locationSite', 'locationAddress', 'locationSiteGroup', 'locationRegion'
],
causalCI: [
'CI_reconid', 'causalCI', 'affectedCIClassId'
],
impactedService: [
'impactedService', 'serviceCIReconId'
],
assignee: [
'assigneeLoginId', 'assignee'
],
assigneeSupportGroups: [
'supportGroups', 'assignedSupportCompany', 'assignedGroup', 'assignedSupportOrganization'
],
status: [
'status', 'statusReason'
],
changeClass: [
'timing', 'timingReason'
],
changeLocation: [
'siteRegion', 'siteGroup', 'siteName', 'siteId'
],
changeCoordinator: [
'assigneeName', 'assigneeLoginId', 'assigneeCompany', 'assigneeOrganization'
],
changeCoordinatorSupportGroups: [
'assigneeGroup', 'assigneeGroupId',
],
changeManager: [
'managerName', 'managerLoginId'
],
changeManagerSupportGroups: [
'managerGroup', 'managerGroupId'
],
changeRisk: [
'riskLevel'
],
targetDate: [
'targetDate'
],
scheduledDates: [
'scheduledStartDate', 'scheduledEndDate'
],
actualDates: [
'actualStartDate', 'actualEndDate'
]
},
adminConsoleConfig: {
sideMenu: [
{
label: 'Home',
name: 'home'
}, {
label: 'Configuration',
name: 'configuration'
}, {
label: 'Reports',
name: 'reports'
}
],
settingsLabelMapping: {
'host.name': 'Hostname',
'host.port': 'Port',
'system.user.password': 'Application password',
'mid_tier.base.url': 'Midtier URL',
'open.aif.new.window': 'Open AIF in new window',
'bppm.url': 'URL',
'check.password.expiration': 'Check password expiration',
'exchange.url': 'URL',
'exchange.login': 'Username',
'exchange.pass': 'Password',
'rkm.templates': 'RKM templates',
'statistics.enabled': 'Collect performance statistics',
'popular.catalog.item.threshold': 'Usage threshold for popular items',
'connect.arsystem.hostName': 'AR hostname',
'connect.arsystem.port': 'AR port',
'connect.arsystem.password': 'AR password'
}
}
});
}());