Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.

An issue I've always had with a Query refresh after xxx interval is...

Jaymer

IF you have a Grid, that auto refreshes every 10 minutes, for example,
a dashboard type thing that is a user's main screen,
its possible for a user to click on a record to edit one of those Rows (in a popup),
and be typing in some data, and the REFRESH activate and it blows
away the grid AND POPUP right in the middle of an edit.

I saw this strategy today in another tool.
Using JQUERY:

if($j('[name=SelectedID]').val().length) setInterval(process_name, 5000);

You can google setInterval for lots of info.
This might be what Aware is doing internally, but it does it WITHOUT REGARD to anything else happening.
My user doesn't want to be blown out of an entry screen.

What I thought could be done is a SessionVar field be set, or something on the form that popped up,
and the CUSTOM setInterval code could, as in the example, see if there is a value set in a field.
If so, it means the user is not just sitting on the grid, but doing something.
When its time, our own function could call a "refresh" action for the grid.


aware_support

Could you please send us the BSV to reproduce the issue?

In our tests everything works fine - even when a popup window is active the query quietly refreshes on the background and doesn't blow out the popup window.


Jaymer

just saw it
i was viewing a kanban query, with a 120 second refresh.
if i click on a kanban cell, it edits that record in a popup.
i typed into a field.
waited, and then BAMMO!!!!!!!!!!
redrew the kanban and closed my window and the user loses his edits.

will have to work on a bsv, but not high priority

J