Forum Discussion
QuickBaseCoachD
8 years agoQrew Captain
No problem,
You can make a URL formula button to delete a record and refresh the page. But there is no "are you sure" step on this so be careful.
var text URL= URLRoot() & "db/" & Dbid() & "?act=API_DeleteRecord&rid=" & [Record ID#]
& "&apptoken= xxxxxxx";
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});"
& "void(0);"
if you have application tokens enabled on the app properties tab for the application, then you will need to supply that long code number. or else just disable them as not being needed.
You can make a URL formula button to delete a record and refresh the page. But there is no "are you sure" step on this so be careful.
var text URL= URLRoot() & "db/" & Dbid() & "?act=API_DeleteRecord&rid=" & [Record ID#]
& "&apptoken= xxxxxxx";
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});"
& "void(0);"
if you have application tokens enabled on the app properties tab for the application, then you will need to supply that long code number. or else just disable them as not being needed.