[spanish] [english]
|
About Sourcefiles and
repositories
To save information concerning
users, reports and other application data, a directory structure
is used, divided in two big trees: Sourcefiles and Repositories.
Inside sourcefiles should be placed
any file that creates or modifies users and administrators for report
creation and utilization. There are 6 subdirectories:
- Reportdefitions: contains
the xml files corresponding to ReportDefinitions
- Reportsourcedefinitions:
contains the xml files corresponding to ReportSourceDefinitions
- Reportviews: contains the
xml files corresponding to ReportViews
- Reportlayouts: contains
the xml files corresponding to ReportLayouts (this xml files can
be generated and modified from IReport or other editor for JasperReports
design files).
- Datasources: inside this
directory any data source as excel or xml. This files can be placed
anywhere, but this using this path is easier for organization.
- Schemas: this directory
has the XSD files that are schemas of the xml files used for definition
of reports (RSD, RD, RV).
In the repositories a "registered
copy" of the report files will be saved. For the use of the
application, the available reports will be the ones in repositories.
There are also other directories where other information is saved.
Additional information directories
are:
- Images: contains images
of the application.
- Languages:
contains the different languages that may be used changing the
configuration.
- Usersrepository: this directory
contains information about users. It contains the users files,
the user data file, the rolls file and the activity log file.
These files may be placed anywhere, changing the configuration.
Directories with report information
are:
- Reportdefinitionrepository:
saves a "registered copy" of each report definition
in sourcefiles
- Reportsourcedefinitionrepository:
saves a "registered copy" of each report source definition
in sourcefiles
- Reportviewrepository: saves
a "registered copy" of each report view in sourcefiles
- Reportsourcerepository:
this directory saves a "cache" of the data source, if
the report has the cache option set. It gets all the data as specified
in the RSD, filtered only with the prefilters. The result is saved
in a serialized file or as a comma separated value plain text
file.
- Microreportrepository: repository
where pregenerated cubes are saved for off-line working. There
is a MicroReport drill down option (see drill downs in RD) that
takes the drilldown report from these repository (if the file
has the same ReportDefinitionID and parameters)
Register and Empty:
Inside the main menu of the application
(Operations) there are two items, register and empty, that makes
use of the repository and sourcefiles directories. The empty option,
deletes all files existents in repositories, disabling all reports,
so no one will be able to execute. In the other hand with Register
option, all sourcefiles directories are covered, "registering"
a copy of the existing files inside repositories, if the file matches
the schema validation. This is a protection, because all available
reports had been registered and checked before execution.
In other words, xml files in sourcefiles
can be modified, deleted or added, but those changes wont take effect
until Empty and Register options are used.
The location of each of these
reports may be changed, making the necessary changes in the configuration.
|
|