Forum Discussion
MarkShnier__You
Qrew Legend
3 years agoRight, so they took away JavaScript from us and we used to use it to refresh the page. But they gave us a new replacement code. The code in bold below will refresh whatever page you are on even if you click a button on an embedded child report on a form for example.
Do you need the generic syntax below in this format.
$URLONE
& "&rdr=" & URLEncode($URLTWO)
So, in your use case you want to do the update and then you want to refresh the page.
var text URL = URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&rid=" & [Task ID]
& "&apptoken=XXXXX"
& "&_fid_76=" & [Duration Plus One];
var text RefreshPage = URLRoot() & "db/" & Dbid() & "?a=doredirect&z=" & Rurl();
$URL
& "&rdr=" & URLEncode($RefreshPage)
------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------
Do you need the generic syntax below in this format.
$URLONE
& "&rdr=" & URLEncode($URLTWO)
So, in your use case you want to do the update and then you want to refresh the page.
var text URL = URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&rid=" & [Task ID]
& "&apptoken=XXXXX"
& "&_fid_76=" & [Duration Plus One];
var text RefreshPage = URLRoot() & "db/" & Dbid() & "?a=doredirect&z=" & Rurl();
$URL
& "&rdr=" & URLEncode($RefreshPage)
------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------
CarrieKrakowski
3 years agoQrew Member
Beautiful! Works perfectly. Thank you for the speedy response!
------------------------------
Carrie K
------------------------------
------------------------------
Carrie K
------------------------------