Go to documentation repository
Page History
Section | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Note | ||
---|---|---|
| ||
The Web.config file configuration must be performed on the computer where it is planned to work with the Presence at workplace report and Personal presence-at-workplace report. After making any changes in the Web.config file, it is necessary to restart the Cassini Service utility. |
Selecting a report format
The Presence at workplace report has and Personal presence-at-workplace report have two appearances: Standard or With page header. In the With page header option, photos of users can be displayed in the report. To display user photos, do the following:
- Go to the <Intellect installation directory>\Modules\Wt2.
- Open the Web.config file for editing.
Add the following key to the <appSettings> key group:
Code Block <add key="intellectPath" value="C:\Program Files (x86)\Intellect\" />
where "C:\Program Files (x86)\Intellect\" is the Intellect installation directory.
Info title Note Photos are assigned to users in the Access Manager module (see Assigning a photograph to a user in the Access Manager software module).
- Save the changes in the Web.config file.
Tip |
---|
The parameters of the Web.config file are described on the page XML-file parameters reference guide. |
Adding the fields to the custom database template file
For the Presence at workplace reportcorrect operation, it is necessary to do the following:
Create a text document with the .dbi extension (for example ext.dbi) in the root directory of the Intellect installation — C:\Program Files (x86)\Intellect\.
Info title Note You can add the fields to the intellect.ext.dbi file, which is specifically designed for custom tables and fields (see The ddi.exe utility for editing database templates and external settings files).
Open this dbi file in a text editor.
Note title Attention! Before you enter any data, make sure that the Windows-1251 text encoding is selected. Otherwise, when adding additional fields to the database, the text will be recognized incorrectly.
Copy the following code block to the dbi file:
Code Block language xml [OBJ_PERSON] personnelCat, CHAR, 64 //Personnel category{C%Workers|Employees|Managers|Other} course, CHAR, 255 //Activity area contractNum, CHAR, 255 //Agreement # specialty, CHAR, 255 //Speciality
After the fields are created, it is necessary to save the changes in the dbi file.
Note title Attention! After you save the dbi file, it is necessary to update the main database. To do this, use the idb.exe utility (see The ddi.exe utility for editing database templates and external settings files).