Repository Configuration for Version 6.x
Repository.xml is to provide information on storage and access of report template and datasource to the report server.
Properties includes :
- File System type
- File System Location
- File System Display Name
- Grant Name
File System Type
This the FileSystem element. The attribute type is required. They either local or jar where local refers a local file system store, jar refer to a Java archival format i.e. in a jar file.
File System Location
This location of the file system, where local filesystem location refers to the file directory path while jar filesystem location refers to file path.
Example of a local file system is
C:/ReportsSales
File System Display Name
This is the display name of the file system.
Note that display name is required to be of the same name of the file system during designing of the template and datasource.
Grant Name
This allow the authenticated user access to the filesystem on the server. It may be the role name. If a wildcard "*" is used in place, it means that the access is given to all roles . Each role requires a separate element as:
This is the example :
<filesystem type="local">
<rootFile>${user.home}/EnsembleWorkspace</rootFile>
<displayName>EnsembleWorkspace</displayName>
<grant name="Sales"/>
<grant name="Technical"/>
</filesystem>
where it a local file system in the repository is located on the java user home path of the directory called EnsembleWorkspace. The displayed name is
EnsembleWorkspace and only users in
Sales or
Techical roles are granted access to it.
--
TanDunlin - 23 Jan 2006