on 2024 Oct 29 1:08 PM
Hi people,
I am facing an issue I hope you'll be able to find me with. Let me explain in briefly:
I have implemented a "LastChangedAt" (timestamp) field in my UI that gets updated correctly whenever I do a change in any other field. For that purpose I use the annotation @Semantics.systemDateTime.lastChangedAt: true in my root entity.
The main problem is that the "LastChangedAt" value does not get refreshed automatically in the UI after saving, so I have to do that manually: either refreshing the browser or going back and forth.
There is one thing that works (...the usage of "side effect { field MyField affects Targets }") but I would like not to go with that option as it forces me to specify all the source fields that could be changed and so specify them one by one.
Is there any other thing I can do?
Many thanks in advance!
Request clarification before answering.
Hi @sastremarti another option you may try to fill CREATE method's mapped parameter with your Key fields and lastChangedAt field.
Hope this helps...
Thanks-
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
29 | |
9 | |
7 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.