Listing managed attribute values

You can list either all managed attribute values, or list only values added for a specific managed attribute with listManagedAttributeValues operation in the Configuration Web Service.

To list which managed attribute values exist in the system:

Issue a request with listManagedAttributeValues, using one of the two options:

Example

For example, this request:
<ns:configTransaction>
  <ns:listManagedAttributeValues>
    <mdex-dimension_Key>location</mdex-dimension_Key>
  </ns:listManagedAttributeValues>
</ns:configTransaction>
Returns the following result, listing all managed attribute values for the managed attribute "location":
<config-types:results xmlns:config-types="http://www.endeca.com/MDEX/config/services/types/3/0">
 <managedAttributeValues xmlns="http://www.endeca.com/MDEX/config/XQuery/2009/09">
  <mav>
   <name xmlns="">Boston</name><spec xmlns="">bos</spec><parent xmlns="">MA</parent>
   <managedAttribute xmlns="">location</managedAttribute>
  </mav>
  <mav>
   <name xmlns="">Massachusetts</name><spec xmlns="">MA</spec><parent xmlns="">US</parent>
   <managedAttribute xmlns="">location</managedAttribute>
  </mav>
  <mav>
   <name xmlns="">New York city</name><spec xmlns="">nyc</spec><parent xmlns="">NY</parent>
   <managedAttribute xmlns="">location</managedAttribute>
  </mav>
  <mav>
   <name xmlns="">USA</name><spec xmlns="">US</spec>
   <parent xmlns="">/</parent><managedAttribute xmlns="">location</managedAttribute>
  </mav>
  <mav>
   <name xmlns="">New York state</name><spec xmlns="">NY</spec>
   <parent xmlns="">US</parent><managedAttribute xmlns="">location</managedAttribute>
  </mav>
 </managedAttributeValues>
</config-types:results>