# Retrieving Documentum repeating values

- Link: https://saguiitay.com/retrieving-documentum-repeating-values/
- Published: 2009-01-08T16:45:00+02:00
- Author: Itay

Documentum provides the functionality of repeating properties – properties that 
have more than one value. Retrieving those values is a simple matter of getting 
the number of values for that property, and then request each one of the values.

Here’s a small utility method:

    ```notranslate
    private static object[] GetRepeatingValue(IDfSysObject dfObj, string attributeName)
    {
        int valuesCount = dfObj.getValueCount(attributeName);
        object[] values = new object[valuesCount];

        IDfValue val = null;
        for (int index = 0; index  valuesCount; index++)
        {
            try
            {
                val = dfObj.getRepeatingValue(attributeName, index);
                values[index] = val.asString();
            }
            finally
            {
                NAR(val);
                val = null;
            }
        }
        return values;
    }
    ```

### _Related_
