Question Joseph Tsang · Jul 14, 2022 About the callback method %OnSaveFinally() Is there anyone using this callback in the code? I was searching in the latest IRIS documentation for any handy callbacks of the %Persistent class which allows me to execute some codes just right after a transaction has been committed (TCOMMIT). The description of this %OnSaveFinally() sounds the thing I want because it said: #InterSystems IRIS 0 5 0 492
Question Joseph Tsang · Jun 27, 2022 Populate object by %LoadFromMemory() Has anyone here been successfully populating a %Persistent object from calling %LoadFromMemory() with a temp. global? I have tried using Sample.Person in the SAMPLES namespace. It worked EXCEPT that I have no way to set the id into that Sample.Person objec. #Object Data Model #ObjectScript #InterSystems IRIS 0 1 0 209