Administration > Type and Attribute Management Command-Line Tools > Defining Custom Properties for Enumeration Entries > Creating or Updating Custom Property Definitions on Enumeration Entries
  
Creating or Updating Custom Property Definitions on Enumeration Entries
Use the following example code as a guide for creating or updating custom property definitions on enumeration entries.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE NmLoader SYSTEM "standardX24.dtd">

<NmLoader>
<csvSaveCustomPropertyDefinition handler=
"com.ptc.core.lwc.server.CustomPropertyDefinitionLoader.saveCustomPropertyDefinition">
<csvCustomPropertyName>myCustomPropertyDefinition</csvCustomPropertyName>
<csvCustomPropertyDisplayName_Default>Default Display Value
</csvCustomPropertyDisplayName_Default>

<csvCustomPropertyDisplayName_en_us>U.S. English Display Value
</csvCustomPropertyDisplayName_en_us>
<csvCustomPropertyDisplayName_en_gb>Great Britain English Display Value
</csvCustomPropertyDisplayName_en_gb>
<csvCustomPropertyDisplayName_fr>French Display Value
</csvCustomPropertyDisplayName_fr>
<csvCustomPropertyDisplayName_de>German Display Value
</csvCustomPropertyDisplayName_de>
<csvCustomPropertyDisplayName_es>Spanish Display Value
</csvCustomPropertyDisplayName_es>
<csvCustomPropertyDisplayName_ja>Japanese Display Value
</csvCustomPropertyDisplayName_ja>
<csvCustomPropertyDisplayName_it>Italian Display Value
</csvCustomPropertyDisplayName_it>
<csvCustomPropertyDisplayName_ko>Korean Display Value
</csvCustomPropertyDisplayName_ko>
<csvCustomPropertyDisplayName_zh_cn>Simplified Chinese Display Value
</csvCustomPropertyDisplayName_zh_cn>
<csvCustomPropertyDisplayName_zh_tw>Traditional Chinese Display Value
</csvCustomPropertyDisplayName_zh_tw>
<csvCustomPropertyDisplayName_ru>Russian Display Value
</csvCustomPropertyDisplayName_ru>

<csvCustomPropertyDescription>description of myCustomPropertyDefinition
</csvCustomPropertyDescription>
</csvSaveCustomPropertyDefinition>
</NmLoader>
The following elements can be nested with in the <csvSaveCustomPropertyDefinition> element in the custom property definition load file.
Element
Description
<csvCustomPropertyName>
The internal name of the custom property.
If a custom property definition already exists with this name, it is updated to exactly reflect what is defined in this load file.
This element is required.
<csvCustomPropertyDisplayName_Default>
This default display name of the custom property .
If no display name is available for a requested locale, the value of this element is used.
This element is required.
<csvCustomPropertyDisplayName_en_us>
<csvCustomPropertyDisplayName_en_gb>
<csvCustomPropertyDisplayName_fr>
<csvCustomPropertyDisplayName_de>
<csvCustomPropertyDisplayName_es>
<csvCustomPropertyDisplayName_ja>
<csvCustomPropertyDisplayName_it>
<csvCustomPropertyDisplayName_ko>
<csvCustomPropertyDisplayName_zh_cn>
<csvCustomPropertyDisplayName_zh_tw>
<csvCustomPropertyDisplayName_ru>
<csvCustomPropertyDisplayName_pt_br>
The display name for the custom property in specific locales. These elements are used as the label for the custom property in the Type and Attribute Management utility.
These elements are optional.
<csvCustomPropertyDescription>
The description of the intent behind this custom property definition.
This element is optional.
For an example, see Examples of Potential Custom Properties.