How to client side ESQ that triggers OnSaved events

Hello,



I am updating a field of an entity in client side using ESQ:

Ext.create("Terrasoft.UpdateQuery", { rootSchemaName: entitySchemaName });.



I can't find any solid documentation and I am trying to know if it will really not trigger OnSaved events of that entity?



Is there any cheatcode/workaround I can use to trigger OnSaved via client side esq?



Thank you.

Like 0

Like

1 comments

Hello,

 

And have you tried to test if UpdateQuery trigger OnSaved? This should be easy: some simple logger added to the OnSaved handler. Also if you need to trigger some server logic after the update - you can direclty call some custom service (for example in the callback execution after the UpdateQuery).

Show all comments