This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Last modified by

Hi

When a user confirms his Assignment, i get M_Files server as a last modified by user.

I have tried setting SetModifiedBy through vb code - it is set as the last executing code in the event handlers

' Create a typed value for the "last modified by" value.
Dim objLastModifiedByTypedValue
Set objLastModifiedByTypedValue = CreateObject("MFilesAPI.TypedValue")
objLastModifiedByTypedValue.SetValue MFDatatypeLookup, CurrentUserID

' Update the last modification info.
Vault.ObjectPropertyOperations.SetLastModificationInfoAdmin ObjVer, True, objLastModifiedByTypedValue, False, Nothing

But still no luck.

Is there some way to make this work?

I need this information, because i'm building a history report out of it.

Thank you