This code works perfectly using my current method for all property definition types except when the property definition is a Multi-Select list.
The method I am using for the other datatypes is as follows:
'Set Property 1038
oPropertyValue.PropertyDef = 1038
oPropertyValue.TypedValue.SetValue MFilesAPI.MFDataType.MFDataTypeLookup,
oProps.SearchForProperty(1038).TypedValue.GetLookupID()
Vault.ObjectPropertyOperations.SetProperty oCheckedOutVersion.ObjVer, oPropertyValue
Does anyone have any suggestions on how to amend this code to suit the property definition of a multiselect data type?
Do I need to put the values that exist into a collection and then call on that collection to set / update them in the related document?