Tailor ThingWorx Navigate Tasks > Add Attributes to the Deny List
  
Add Attributes to the Deny List
The Windchill ODATA response returns a large number of internal attributes. By default, My Tasks removes the internal attributes that are not required by adding them to a deny list. However, based on your business requirement, you can edit this deny list to show some attributes in the tailoring page. You can also use this list to remove the attributes that are not required and avoid cluttering the tailoring page. For each component type, all attributes in the deny list are stored in the PTC.ComponentDenylist data table.
View Attributes in the Deny List
To fetch the complete list of attributes in the deny list, perform the following steps:
1. In ThingWorx Composer, search for the PTC.ComponentDenylist data table, and then open it. The General Information page opens.
2. Click Services.
3. For GetDataTableEntries click Execute service. The Execute Service: GetDataTableEntries window opens.
4. Under Inputs, for the maxItems field, update the maximum number of items, if required.
5. Click Execute.
Add or Remove Attributes
To add attributes to the deny list or remove attributes from the deny list, perform the following steps:
1. In ThingWorx Composer, search for the PTC.ComponentDenylist data table, and then open it. The General Information page opens.
2. Click Services.
3. For AddOrUpdateDataTableEntry click Execute service. The Execute Service: AddOrUpdateDataTableEntry window opens.
4. Under Inputs, for the values field, enter the modified list.
* 
Modifications to the deny list should adhere to the JSON format. If the list is not in the required format, modify the list using a JSON editor and then paste it in the values field. You can also copy the values obtained from the GetDataTableEntries service you executed earlier.
5. Click Execute.
Once the modification is done, navigate to the tailoring page. Attributes added to the deny list will no longer appear in the tailoring page. If you removed an attribute from the deny list, it will now appear in the Available attributes section in the tailoring page.
* 
To add an attribute to the deny list that has already been tailored (present in the Selected attributes section of the tailoring page) remove it from the Selected attributes section, save the tailoring page, and then update the deny list. If not updated using these steps, this attribute will not appear in the tailoring page, but will still be seen in the respective mashup.
Sample JSON of Attributes in the Deny List
The sample JSON below is used to add the following attributes to the deny list for PTC.ChangeMgmt.ChangeRequest. The attributes are of the type PTC.ChangeMgmt.AffectsLinkItem:
LastModified
CreatedOn
{
"PTC.ChangeMgmt.AffectsLinkItem": {
"denyListValues": {
"list": [
"LastModified",
"CreatedOn"

]
}
},
"PTC.ChangeMgmt.ChangeRequest": {
"denyListValues ": {
"list": [
"ProcessObjects",
"Organization"
]
}
}
}
Considerations for Upgrade
During an upgrade of ThingWorx Navigate, changes to the deny list are not saved. Take note of any changes you make to the deny list as you make them, and before upgrade make sure you have a copy of all your changes. After upgrade, reapply your changes to the deny list using the steps above.