<< Click to Display Table of Contents >> dpPower > Appendix > Configuration options > Tomcat site > Basepath.conf |
The path in basepath is suggested only the first time a user wants to link a document to an object. From the second time, the user's last used path will instead be suggested. |
The basepath.conf file might look like this:
[override bios.plugin.qt.factory.QtDocumentViewFactory] basepath=\\c:\facil\bilder field.regex.0=(\\\\c:\\facil\\images.*)|(http://.*)
|
In order for it to be possible to enter a path in basepath.conf, you must enter a path to tomcat-site in local_settings. It might look like this if tomcat is located at c:/tomcat and tomcat-site at c:/tomcat-site:
# Site specific files are kept in this directory, can be included from # standard config files by using [include_site_if_exists=foo.conf] site_dir=$CATALINA_BASE/../tomcat-site/ |
Basepath is the path to the file you want to link. Field.regex is the delimiter for the file. In the example above, the file must be in the images folder and can be any file type (.* in field.regex). It also says that the path can be a path from http://.*, that is, the file you want to link is in images. It is also possible to link a file from http://.*. If you do not want to lock the path so that the document must be in images, do not write anything after field.regex. You instead leave it blank after "=". There will be a path, but you can then choose another if you want.
If you want the documents to be linked, to be anywhere and that there is no default path, it should look like this in basepath.conf:
[override bios.plugin.qt.factory.QtDocumentViewFactory] basepath= field.regex.0=.* |