ATK Demo Walkthrough – Lesson 4
From Achievo/ATK Wiki
Contents |
Intro
In this lesson we take the application we built in Lesson 3 and add some code to send an email whenever an employee is added, edited or deleted.
The Departments Node
The departments node file is identical to that of lesson 3.
The Employees Node
The major addition in this lesson is triggers, but the lesson also contains a few other nifty tricks, including:
- The atkEmailAttribute, for editing email addresses
- The atkDummyAttribute, to put text on screen that does not get saved to the database and is not editable by the user.
- The NF_TRACK_CHANGES flag, to keep track of record modifications.
- The AF_HIDE_LIST flag, to hide an attribute from the recordlist, and only display it in add/edit/view screens.
The Module
The module file is identical to that of lesson 3.