Forum Discussion
QuickBaseCoachD
9 years agoQrew Captain
I have not tested but there was a recent post here
https://community.quickbase.com/quickbase/topics/delete-a-record-without-going-into-grid-edit-or-goi...
It contained this tip
var text URL= URLRoot() & "db/" & Dbid() & "?act=API_DeleteRecord&rid=" & [Record ID#]
& "&apptoken= xxxxxxx";
"javascript: " &
"if ( confirm('Are you sure you want to permanently delete this record ? ') == true ){ "&
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});"
& "void(0);"&
"}"
So I assume if you just change the URL formula variable to the Run Import one, it will work. Please post back and let me know.
https://community.quickbase.com/quickbase/topics/delete-a-record-without-going-into-grid-edit-or-goi...
It contained this tip
var text URL= URLRoot() & "db/" & Dbid() & "?act=API_DeleteRecord&rid=" & [Record ID#]
& "&apptoken= xxxxxxx";
"javascript: " &
"if ( confirm('Are you sure you want to permanently delete this record ? ') == true ){ "&
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});"
& "void(0);"&
"}"
So I assume if you just change the URL formula variable to the Run Import one, it will work. Please post back and let me know.