Set attribute value and commit immediately upon viewing an entry

Hello again team,

Here’s another head-scratcher I need to solve. I’ve got a boolean value that is automatically set to true upon onInitEntity(). I need to set this value to false and commit the change immediately upon viewing the record after it’s been created. Think of this like an inbox, viewing a new message.

I’ve looked into the order of operations of events, but I think the most important missing piece is recognizing when an entry is being viewed when it’s not a new record. Then, the next part is how to commit the change immediately.

I’d appreciate any solutions.


See: Table Selection Listener

You will need something like