Skip to main content
Question

Any method to replace the Javascript reload?

  • November 9, 2021
  • 0 replies
  • 48 views

Forum|alt.badge.img+4
Hi!

I'm wondering now that the Javascript is no longer allowed in Quickbase, is there any method that could replace certain easy previously used javascripts?
My current example is a simple record edit toggle, then reload the record

var text url =
If([Show Change Log] = false,
URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&apptoken=xxxxxxxxxxxxxxxxxxxxxxxx&rid=" & [Record ID#] & "&_fid_325=1",
URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&apptoken=xxxxxxxxxxxxxxxxxxxxxxxx&rid=" & [Record ID#] & "&_fid_325=0");

"javascript:" &
"$.get('" &
$url &
"',function(){" &
"location.reload();" &
"});" &
"void(0);"

Any other creative ways of implementing the same without JS?

Thanks!

------------------------------
George Khairallah
CTO
gotomyerp, LLC
------------------------------
This topic has been closed for replies.

MarkShnierYou
Forum|alt.badge.img+24
np.

var text URL =
If([Show Change Log] = false,
URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&apptoken=xxxxxxxxxxxxxxxxxxxxxxxx&rid=" & [Record ID#] & "&_fid_325=1",
URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&apptoken=xxxxxxxxxxxxxxxxxxxxxxxx&rid=" & [Record ID#] & "&_fid_325=0");

var text RefreshPage = URLRoot() & "db/" & Dbid() & "?a=doredirect&z=" & Rurl();

$URL
& "&rdr=" & URLEncode($RefreshPage)


------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------