* Configuration Folder Structure |
[This is preliminary documentation and is subject to change.]
![]() |
---|
Configuration folders are created inside the Configuration folder inside the framework folder structure. |
All configurations have the same basic structure.
An initial configuration folder may be almost empty. The only requirement is, that the files Application.config and Server.config (see .config files) must exist in the configuration folder.
When the configuration is completed, the folder structure may look like this:
<configuration folder> bin binTopica Forms Help IncludeHTML Login Modules News LogIn Start Organization PerformanceLog PreProcess PostProcess RadControls Skins SQL Run Structure StyleSheets Temp Test Views
Folder | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
bin | TOPICA plugins (compiled .NET assemblies = .dll files) must be placed in this folder. - see Extensibility / Plug-ins.
| ||||||||
binTopica | You may implement custom code components (custom webforms, custom webservices, etc.), that rely on separate assemblies (.dll files). Such "extra" assemblies could be placed in the same folder as the custom code using the extra assembly. But in some situations the custom code may not be able to load the .dll files when they are placed in the same folder as the custom code, e.g. the configuration's bin folder. Also, there are situations, where you use an assembly from several pieces of custom code, placed in different folders. Is this situation, placing the .dll files in framework's bin folder will always work. The .dll files are configuration specific (not part of the framework), so should they are stored (in version control etc.) and distributed/deployed with the configuration. This is the reason for this folder (the configuration's binTopica folder). Place any configuration specific .dll files in this folder. But remember, that the .dll files must reside in the framework's bin folder:
| ||||||||
Forms | This folder stores form definitions a.k.a. form templates (XML files) for configured ("dynamic") forms. See Working with Forms. | ||||||||
Help | Configuration-specific help files. | ||||||||
Login | The folder containing custom login modules - see Configuring LogIn. | ||||||||
News | The two subfolders Login and Start holds text files (in HTML-format) containing the messages displayed on the login and start forms, respectively. Each time a user edits these messages, the previous version is stored. So these folders contain the full history of messages. This folder is automatically created when needed (in release 4.12 and later). | ||||||||
Organization | Contains a subfolder Images, that holds icons (images) to be displayed in the organization tree. There must be one image for each type of organizational unit used in the organization. Name must match the organizational unit type. Files should be in gif-format. Size should not be greater than 20 pixels by 20 pixels. | ||||||||
PerformanceLog | If performance logging to text files performance logging (to text files) has been enabled, log files are written to this folder.
| ||||||||
PreProcess | Pre-process files referenced from configured forms must be stored in this folder. A pre-process file is an .aspx-file, that executes BEFORE a configured form loads. The .aspx must generate an XML document with data. This data may be used to set default values for fields. | ||||||||
PostProcess | Post-process files referenced from configured forms must be stored in this folder. A post-process is an .aspx file, that runs AFTER the form instance (record) is saved (optionally: after a record is copied and deleted). | ||||||||
SQL | This folder is used to store SQL scripts useful in the current configuration. A subfolder Run may exist. This subfolder is used to store SQL scripts, that may be run from the standard web application (provided the user is a system administrator!). In this way the system administrator may run scripts that alters the database without having direct access to the database server. This may be used to define configuration specific database objects: tables, views, stored procedures etc. These database objects may be used in reports, test modules, batch processing, etc. To access the script in the SQL/Run folder from the user interface, select "SQL / Run" from the main menu.
| ||||||||
Structure | This folder holds The Structure File, that is used to define the relations between configured forms (and hence relations between tables in the database). | ||||||||
Skins | This folder contains the configuration specific skins (that supplement the standard skins delivered with the framework). A skin defines "look and feel" of the application. End users may select their preferred skin.
| ||||||||
StyleSheets | This folder may contain any number of subfolders, images and other resources used from CSS-files. The configuration key StyleSheetFolder refers to one of these folders. The value of this key determines which stylesheets are used in the configuration.
| ||||||||
Temp | Folder for temporary files. Will be created automatically as needed. | ||||||||
Test | This folder may contain configuration specific test tools, typically custom webforms (.aspx files), reports, or SQL scripts. Typical uses for test tools: Create test data, reports that sould only be accessible for testers, etc. This folder may have any internal folder structure. Regarding context, this folder works alomst like the Views folder (see below). This folder is visible only for employee users having the Test permission. The folder is invisible for "normal" users (not having the Test permission).
| ||||||||
Views | Holds definitions of reports. May contain the following subfolders - each corresponding to a particular context type - see Report Context.
|