I have a need to refresh a table either every x minutes or when a fields(status) changes. The status is being updated via Make.com intagration. This intagration is not triggered from Tadabase, its being updated from another application via Make. so I either refresh the table at a set time period or preferably when the status changes to a specific value. There is another table component on the page.
You can use an ably notification to trigger that reload button via JS. I can provide you a snippet later or you can try yourself with AI. It doesn’t matter from where the Notification is triggered since your application is listening too the ably channel.
You give the table you want to update a specific CSS class, I use “Ably-Update” and then you use a JS query to click the reload button in that CSS Class. Try inspecting the element. It provides all necessary information to have AI build the JS.
Thanks for your reply. Im not that familiar with Ably. I tried setting something up from another post that Moe posted but I keep getting an error about channel or application doesnt exists.
You mention a button to reload. My table has no buttons.
Im using Make.com to receive and update a record in Tadabase. My idea is after Make updates the record then triggen Ably to either reload the table or better yet show a pop up message I tadabase so the end user can act on it. Not sure if the later is possible.
Thanks again, but this is a bit over my pay grade. I can understand, somewhat, what the code is doing but not really sure how to implement it. I believe i might have to update some of it to work on my application. I’m just not a real programer so seem a bit overwhelming. Also do I put this code in the JS of the page? How is it triggered? the record update happens via integration with Make, no user intervention.
This how you make a page listen to an ably channel and in the provided snippet also fire a sweet alert. Again search the docs you’ll find lots of info on this in old “build it with Tim”’s