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.5the values can be activated/deactivated. To activate/deactivate a value you must toggle the boolean parameteractive. - RetrieveValues
-
In
Web Services 2.0there 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
RetrieveValuesmethod 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.
| New XPath | Old XPath | Description |
|---|---|---|
| ishlovs/ishlov/@ishref | ishlov/@id | The element name of the ListOfValues |
| ishlovs/ishlov/@ishlovref | NA | The unique identifier of the ListOfValues |
| ishlovs/ishlov/ishlovvalues/ishlovvalue/@ishref | ishlov/ishlovvalue/@id | The element name of the value within the ListOfValues |
| ishlovs/ishlov/ishlovvalues/ishlovvalue/@ishlovvalueref | ishlov/ishlovvalue/@valueid | The unique identifier of the value within the ListOfValues |
| ishlovs/ishlov/ishlovvalues/ishlovvalue/label | ishlov/ishlovvalue/label | The label of the value within the ListOfValues |
| ishlovs/ishlov/ishlovvalues/ishlovvalue/description | ishlov/ishlovvalue/description | The description of the value within the ListOfValues |
| ishlovs/ishlov/ishlovvalues/ishlovvalue/active | NA | Is the value active or not? |