Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Refresh Controller's Status Bar without leaving the form


We have a Status field in a Controller which has to be changed through a C# Business Rule, since there are some conditions to be checked first. For such, we have an Action to ag2 (Form) which will trigger the Business Rule. All fine. The thing is, the Action runs the Business Rule, which updates the Status value but the Controllers Status Bar won't get refreshed unless we get out of the form and back in again.

I have tried calling the Result.Refresh from the Business Rule, as well as Result.ExecuteOnClient("$app.touch.dataView().sync()"); , but none were able to update the Controller's Status Bar.

Would anyone know of a way we could accomplish that?

Thanks in advance.

(COT, Unlimited, TouchUI, SPA)
2 people have
this question