Automatic refresh

Hello,
isn’t it possible to automatically refresh the data from a datasource every x seconds ?

Thanks

1 Like

@paolo this is not possible yet. We have a feature request for this here.

Could you drop a comment with your use case there? It’ll help us get it prioritised :slight_smile:

1 Like

If you can host a page somewhere else, you could write a super simple script there with a setInterval() that sends a message to the parent window using postMessage. You can use the appsmith Iframe widget, it has an event that is triggered when a message is received and you can even read the message so you could even have several timers with the same iframe.

Im using this approach to show real time data in an internal dashboard.

2 Likes

@Laborin that’s an incredible workaround! We’re introducing setInterval soon :slight_smile:

2 Likes