Updating a Codelist Implemented Using Enumeration

Procedure

  1. Edit the $MQ_COMMON_DIR/standard/rulebase/_XX_mastercatalog_validation.xml file. Here XX is the name of datapool for which you want to update the code list.
  2. Find the name of the MDM attribute for which the enumeration is defined.
  3. In the validation file, search for the constraint with the attribute name. For example, to update the code list for MATERIAL_WEIGHT_UOM for 1WorldSync, update following constraint in the _1sync_mastercatalog_validation.xml validation file.

Result

<constraint>
 	<name>Drop down for  MATERIAL_WEIGHT_UOM</name>
  	<description>Valid value list for  MATERIAL_WEIGHT_UOM</description>
  	<usefor>
   		<var>MATERIAL_WEIGHT_UOM</var>
  	</usefor>
  	<action>
	   	<select novalue="default">
		<enum header="yes" col="2">    		
     			<const type="string">UOM<sep/>Description</const>
				<const type="string">ON<sep/>Ounces per square yard</const>
				<const type="string">GM<sep/>Grams per square meter</const>				
		</enum>
   		</select>
  	</action>
 </constraint>

For more details on rulebase constraints, refer to the TIBCO MDM Studio Rulebase Designer guide.