Documentation Center

Changes to the class ListOfValues 2.5

The new ListOfValues class replaces the MetaDataAssist class and should be used for ListOfValues provisioning and retrieving information about ListOfValues (e.g. resolutions, languages,...).

Changes in behavior

Output parameters

All retrieval methods return a XML structure.

Changes to methods

UpdateValue

Starting from Web Services 2.5 the values can be activated/deactivated. To activate/deactivate a value you must toggle the boolean parameter active.

RetrieveValues
In Web Services 2.0 there were 2 methods to retrieve the values:
  • MetaDataAssist20.GetLOV which returns a XML with the values of one ListOfValues
  • MetaDataAssist20.GetLOVValues which returns a string array with the labels of one ListOfValues
Both methods are replaced with the new RetrieveValues method which can be used to retrieve all values for multiple ListOfValues. The resulting XML contains the element name, label, description and activity status of each value.

Since an inactive value is still a valid value, the call returns all values, including the inactive ones unless extra filtering is used. The Activity Filter parameter can be used to limit the result to the active values.

Changes in XML signatures

The new LOV ValueList XML Structure is closer to the standard ObjectList XML Structure.

The following table gives an overview of all changes:
New XPathOld XPathDescription
ishlovs/ishlov/@ishrefishlov/@idThe element name of the ListOfValues
ishlovs/ishlov/@ishlovrefNAThe unique identifier of the ListOfValues
ishlovs/ishlov/ishlovvalues/ishlovvalue/@ishrefishlov/ishlovvalue/@idThe element name of the value within the ListOfValues
ishlovs/ishlov/ishlovvalues/ishlovvalue/@ishlovvaluerefishlov/ishlovvalue/@valueidThe unique identifier of the value within the ListOfValues
ishlovs/ishlov/ishlovvalues/ishlovvalue/labelishlov/ishlovvalue/labelThe label of the value within the ListOfValues
ishlovs/ishlov/ishlovvalues/ishlovvalue/descriptionishlov/ishlovvalue/descriptionThe description of the value within the ListOfValues
ishlovs/ishlov/ishlovvalues/ishlovvalue/activeNAIs the value active or not?