Our Knowledge Base covers a wide variety of technical topics, from the basic to the complex.
Home / QIN / Knowledge Base / How do I create a delete record link that can be clicked on from a report?
Knowledge Base
How do I create a delete record link that can be clicked on from a report?
Just create a Formula URL field and use the following as its formula:
"javascript:if(confirm ('Are you sure you want to delete this record?')){location.assign('/db/" & Dbid() & "?act=API_DeleteRecord&rid=" & [Record ID#]& "&rdr=" & URLEncode(URLEncode(URLRoot() & "db/" & Dbid() & "?a=q&qid=7")) & "')}"
You'll have to change the seven character "7" in the above formula to the qid of the report that you want to return to. To learn about qids please read the following:
http://quickbase.intuit.com/developer/node/2087
NOTE: QuickBase recommends that you use application tokens when working with API calls (read more about tokens at https://www.quickbase.com/help/app_tokens.html).
- 66497 reads
Rate This
Similar Articles
Browse by Category
Knowledge Base Categories
- Accounts (35)
- Application (45)
- E-Mail (7)
- Fields (41)
- Forms (20)
- Formulas (18)
- General (69)
- Other Product (7)
- Pages (1)
- Product (5)
- Reports (15)
- Roles (4)
- Search (1)
- Tables (6)
Formula Category
about_http_API
access
add
API
APIs
application
applications
automatically
billing
buttons
change
copy
email
error
exact form
excel
export
field
fields
form
formula
formulas
formula URL
http_api
IP
issues
limit
limits
page
password
patches
plan
QuickBase
records
Release Notes
release notes
remove
report
reports
SDK
security
September 30
software
space
status
techfest
user
users
video
view



Comments
Post new comment