Forum Discussion
MCFNeil
8 years agoQrew Captain
Sorry for the mix up.
Because URLs are naturally a GET request (to pull information from the server), but the refresh is a server side action. We need to use a POST to initiate the refresh.
So your formula URL button would be:
Because URLs are naturally a GET request (to pull information from the server), but the refresh is a server side action. We need to use a POST to initiate the refresh.
So your formula URL button would be:
"javascript:$.post('https://mydomain.quickbase.com/qb/sync/refreshTasks?replicationID=12345').then(function(res,code) {console.log(res,code);window.location.reload()})"
MCFNeil
8 years agoQrew Captain
Keep in mind that sometimes the refresh action on the server takes longer than the refresh action in the browser. So you might have to manually refresh the browser after a bit to see the updated information.