Hello,
I have a custom numbering scheme(Fixed Text, Free text and Pre-defined list), is possible to get the "description" from each "item" from this pre-defined list?
I will get the Description of each item of the list.
Is it possible with C#?
Thank you!
Solved! Go to Solution.
Solved by smithmat. Go to Solution.
Once you get a NumSchme object back from the Vault server (by calling a method like DocumentService.GetNumberingSchemesByType), you can:
1. Get a NumSchmField object by accessing the FieldArray property on NumSchm.
2. The NumSchmField has a FieldTyp property of type FieldType.
3. In the case that this FieldType is of PredefinedList, then you can
4. Cast the NumSchmField to the derived class PredefListField.
5. The PredefListField class has a CodeArray property which is an array of CodeWord objects.
6. The CodeWord has a Descr property (which is a string) which corresponds to the description in your image.
Hope that helps,
- Matt