Hi,
Just wondering if anyone has been able to update the metadata for a Managed Object via the API? I would like to change the lastModTime, lastModifier, lastModComment and creationTime fields.
I have trying to set these fields via the ManagedObjectMetaData object, but I haven't been able to work out how to commit these changes back to the VCM.
Example that doesn't work:
managedObject.getManagedObjectRef().getMap().getMetaData().setLastModTime( newDate);managedObject.commit();
Have also tried creating new MetaData and Map objects and setting them on the MO, but doesn't do the job. If there's a way, I think it depends on getting a reference to an MO that contains the metadata but isn't marked as readonly.