Making a Query Tag Execution Mode Fixed Rate AND Event Driven?

Looking for some ideas on the best way to implement this logic...

I have a perspective view that reads data from a query tag and displays this data in a table. I also have an embedded view in this view, where a user can insert data into the same database table that the query tag reads from. I have the execution mode of this query tag set to Fixed Rate at 60 seconds.

I would also like to have this query tag execute on some event, such as a user clicking the button to insert data into this database table. Essentially, I want the query tag to execute once every 60 seconds AND whenever a user clicks the button to insert data into the database table.

I don't know of any simple way to do this, perhaps I'm missing something. What is the best way to accomplish this?

Don't use a query tag. They only update on pace if using a fixed rate.

Use a named query directly tied to your UI. Refresh the binding when desired.

Appears to be a similar issue to what is being dealt with here in this topic. Seems like the best option is here:

The post is dated but looks like a solid solution still.

2 Likes