Message 1 of 3
Not applicable
09-13-2010
06:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How do I update a boolean property using API?
mDocSvc.UpdateFileProperties(new long[] { file.MasterId }, new long[] { propDefId }, new object[] { true });
"new object[] { true }" does not work. I've tried a cuple of alternatives using string "True", integer 1 etc., but all of them gick me an exception with error code 0 (UnspecifiedSystemException). The file does exists and in Vault Explorer I can change the property value between True and False in a dropdown combobox.
Thanks!
Solved! Go to Solution.
