Forum Discussion
MCFNeil
Qrew 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()})"
AnureshPuthukud
7 years agoQrew Trainee
Hi, how can i run this script outside quickbase? Like an external HTML file?