This article describes how to modify the values in an existing Enumeration attribute. 

Prerequisites


Adding New Values

  1. Using the swArchitect client, log in to the server. 
  2. Navigate to the Attributes tab and find the attribute to be updated in the list. 
  3. Double-click or right-click and select Edit to open the Edit attribute type dialog.
  4. Additional values can be added using the Add option.  The right-click Insert options insert a new value above or below an existing value.  
  5. Reordering of attribute values is supported by using the Move up or Move down options, or by pressing Alt+select+Arrow up and Alt+select+Arrow down on the selected enumeration value in the list.  
  6. Click OK to save your changes. 
  7. Log in to the server using swExplorer to verify that the new value is available. 

Modifying an Existing Value

  1. To change an existing value, select the value to change and make your modification.
  2. Click OK to save your value and close the dialog. 
  3. Log in to the server using swExplorer to verify that the modified value is available. 
    For Single Enumeration, the new value will display in the drop-down list, and the old value will display in the editor. 
    For Set of Enumeration, the new value will display and the old value will display in red: 

When a value is no longer valid per the predefined list, due to the value either being removed from the attribute or modified, users will be informed via an error icon. They can then select a different value, if needed.Invalid values are only displayed in the editor for items that have the invalid value as shown above for "Inclusion" attribute. 


Clean-up of Old Values

Cleanup of these values, if desired, can be done by running a General search for all items with this value using the XML option in the Find items dialog, example:

1. Obtain the attribute's SID:2. Open item > General search:
<Filter><ItemAttributeCompare sid="10IN" value="None"/></Filter>Then, copy the items to your clipboardopen your clipboard, and complete a batch update of the attribute. See Attributes: Work with Item and Part Attributes in A Single View for batch updating instructions. The values can also be changed one at a time. Note that items in Released or CS Released Status cannot be modified. 


Deleting an Existing Value

To delete an existing value, select the value to delete and click Remove

There is also a Remove all option if all values are to be deleted. 



Note: In the same way as described above for modified values, if an item has the deleted value, there will be a red warning indicator next to the attribute editor to indicate that the value is not valid.