From: Krzysztof B. <kb...@un...> - 2018-09-26 07:10:42
|
Hi, W dniu 25.09.2018 o 14:32, Fabian Mangels pisze: > > Hi Krzysztof, > > is there a way to execute a script / code when attributes of a local > user have changed? I'm looking for an event-driven way to trigger a > synchronization of the respective local entity. > Maybe the Java class that writes to the database would be the right > entry point? Or are the customizations in the source code too complex? > > Thank you in advance! > It is possible, although very low level (== will require attention when Unity is upgraded). Check chapter http://www.unity-idm.eu/documentation/unity-2.6.0/manual.html#_enhancement_scripts You get event when attributes are set, so you can add your custom Groovy handler to this. HTH, Krzysztof |