Our Knowledge Base covers a wide variety of technical topics, from the basic to the complex.
How can I add an approve or reject button to my email notifications?
In a recent webinar a customer asked how they might use an email notification to embed an "approve" and "reject" button such that when their client opened their email, they could make the selection right there in the email and the result would be to update the record and log the client's choice to include an audit trail of the person, the decision date and time.
You can do this with a simple Formula URL button and the following sample code:
URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&apptoken=eqfdujiwskwidvd3jphn866p&_fid_97=Approved&rid=" & [Record ID] & "&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?act=dr&rid=" & [Record ID])
Where in this example the key field for this project is [Record ID] and the field that is being "Approved" is fid_97. (Update these to reflect your application)
When someone presses the "Approved" button it edits the record and changes the value of field 97 with "Approved" and then redirects to display the edited record.
An example of this may be viewed in the following video:
This is an example of the type of things we discuss daily in our 10 free and live weekly webinars.
Browse by Category
Knowledge Base Categories
- Accounts (29)
- Application (54)
- E-Mail (7)
- Fields (40)
- Forms (19)
- Formulas (19)
- General (65)
- Other Product (7)
- Pages (1)
- Product (4)
- Reports (15)
- Roles (4)
- Search (1)
- Tables (5)