Hi,I need to upload a document into a folder with 2 categories with required attributes, however, I'm getting an error. This is becasue I am using CreateObjectEX and it checks for required attributes before adding the object. However I haven't set the required attributes yet. How do you do this?
Anyways, I need to know how to add the required attributes to the createInfo object when calling CreateObjectEX. Does anyone know how to do this? Any code samples would be greatly appreciated ...
Here's what I'm doing:
1. docs.FetchCategoryVersion(catInfo, catVersion)
2. attr.AttrGetValues(catVersion, attrName, attrValuesType, Nothing, attrValues) attr.AttrSetValues(catVersion, attrName, attrValuesType, Nothing, attrValues)
3. Add catVersion to createInfo??????
4. Call CreateObjectEX