Forum Discussion
MarkShnier__You
Qrew Legend
6 years agoTate, I don't think there is a way for a nonAdmin to click a button to cause the Connected Sync table to refresh.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
AustinK
6 years agoQrew Commander
It is possible but I was surprised it worked. As a post above mentioned the role needs to have the ability to delete in that table and suddenly they can refresh it via this link. They do not see the actual button though so I had to create one for them.
I've made a code page and embedded it into a users dashboard and this allowed them to refresh the connected table via my created buttons while not being an admin. I didn't have to do anything crazy, I did a simple post to https://myRealm.quickbase.com/qb/sync/refreshTasks?replicationID="+repID and then checked the response. If the response included currentRefresh.status that was anything other than 2, it failed in some fashion. If it was a 2 then the refresh worked. I also disable the button after they click it to prevent them from spam clicking.
I've made a code page and embedded it into a users dashboard and this allowed them to refresh the connected table via my created buttons while not being an admin. I didn't have to do anything crazy, I did a simple post to https://myRealm.quickbase.com/qb/sync/refreshTasks?replicationID="+repID and then checked the response. If the response included currentRefresh.status that was anything other than 2, it failed in some fashion. If it was a 2 then the refresh worked. I also disable the button after they click it to prevent them from spam clicking.
- PatrickDunn6 years agoQrew Assistant CaptainThanks for all this great info! The code "javascript:$.post('https://myrealm.quickbase.com/qb/sync/refreshTasks?replicationID=xxxxx')" within a formula URL field works with Chrome; however, it fails to work in FIrefox. When clicked on in Firefox, I end up getting a page that simply says "[object Object]". What am I doing wrong?
------------------------------
Patrick Dunn
------------------------------