Training
Training
Welcome
Guided Paths
Build an App
Training Planner
Courses
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Home
Jobs
Ideas
Members
User Groups
Downloads
Platforms
OutSystems.com
My Platform
Community
Resources
Support
Search in OutSystems
Log in
Sign Up
Back to Ideas
18
Like
Follow Idea
Joop Stringer
Refresh rate on AJAX refresh
1416
Views
3
Comments
Implemented
Backend
OutSystems 5.1
Have a parameter to the AJAX refresh to issue a refresh on timely base
Justin James
MVP
This is *only* useful if it can also execute workflow to update the backing variables, data sets, etc. as well.
In the meantime, you can do the following:
1. Create a button of type "Ajax"
2. Link that button with an action that updates the backing variables and calls AjaxRefresh; set the style of the button to have "display: none" (do NOT set "display" property to "false"!)
3. Add a piece of JavaScript that calls the button on the requested basis
It's a quick workaround that takes very little time to do; not ideal, but it can be done if needed.
J.Ja
Joop Stringer
That's exactly the reason: workflow :-)
And yes we created the solution as you described. But it would be useful to have a property to the AJAX refresh to set the rate and do the things we want.
Rodrigo Castelo
Staff
Hi Joop,
Check how the
Lightweight Ajax Refresh
component. Your wish has been granted!
Cheers,
Log in to comment
Loading...