|
ADDITIONAL ATTRIBUTES:
There are a few more attributes we need to cover before finishing the Company
application. The first one is the company domain name: you may remember that
was used to auto-generate an employee email address, as in 'frankie@borabuilder.com',
earlier.
To define your company domain, you need to open a file:
$EVINCEROOT/tomcat/webapps/bora/WEB-INF/company/application.xml.
Search for 'CompanyInfo', and change the parameter 'domain' value from 'borabuilder.com'
to your company's domain name.
Also, the company application comes only with a couple built-in titles, as
listed in various pages, like in the NewEmployee window covered earlier. If
you need to add additional titles, you must enter them into the database directly.
Here is how you can do that:
'Rubber Stamper' is the new title we wanted to insert, and we just assigned
it the next available title Id by selecting the maximum title Id and adding
1 to it.
Always remember to flush the application cache if you make changes
to the database while the
site is up and running. Otherwise those changes may not take effect immediately.
The depiction on the right (a partial view of
'NewEmployee' window) is after the cache is flushed:
|
|
 |
|
Also, the applications has only two job classes, 'Associate' and 'Temporary'.
If we need to add more, a similar query like:
insert into jobclass values ((select max(classid)
from jobclass)+1, 'Board Member');
where 'Board Member' is a new jobclass, would do just that:
This is the end of the Company application. You may want to keep an eye on
the announcements in our company site for new versions and enhancements. For
now the next subject in line is Login Accounts.
|