I'm trying to read the list of available items in an Enterprise Custom Field programatically, using MS Project 2010 in an EPM landscape. I'm customizing the Enterprise Global, thus I'm sticking to VBA. Some fields are text-fields, whereas some are bound to a Lookup Table (in PWA's Server Settings).
I can read each field's current value using:
?ActiveProject.ProjectSummaryTask.GetField(FieldNameToFieldConstant("_MY_FIELD_NAME_"))
but I cannot get a list of available values that _MY_FIELD_NAME_ may have, case it is bound to a Lookup Table.
I have found several references to:
Application.CustomFieldValueListGetItem(FieldID,Item,Index)
But none of them work. This is a rather common unanswered question being asked around.
I could not find a solution for this yet; has anyone (please) ?
Thank you for your time, any help is most welcome.