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()})"
KeithWeber
6 years agoQrew Member
I have the same error as JoJo when trying this solution. The URL works for my Administrator account for not for any other person. It works if I "Test as" them or their role however.
Edit: For anyone else having the same issue that JoJo and myself had I found the issue to be that the user clicking the Refresh URL needs to have delete rights in that table for their assigned role. I had not given delete rights since the user couldn't actually delete the sync'd projects anyway.
Edit: For anyone else having the same issue that JoJo and myself had I found the issue to be that the user clicking the Refresh URL needs to have delete rights in that table for their assigned role. I had not given delete rights since the user couldn't actually delete the sync'd projects anyway.