This article describes how Omniscope builds links to related files given a base folder, how the link field and the base folder interact, and what bearing the IOK file's location has on the link configuration.
Links are created by choosing a base folder and using field(s) to build up the rest of the link. The base folder provides a context for the link building, but isn't always relevant depending on the link configuration and field contents.
Let's consider the following example:
Base folder: "D:\Files"
Link configuration: [Link] (i.e. just a single field "Link" with no other fields or link text)
In this case the resulting link for individual records would be as follows for the given "Link" field values:
Link field contents | Resulting link | Notes |
C:\file.txt | C:\file.txt | Because the link field contains a fully absolute path, this overrides the base folder. In this case the base folder is entirely irrelevant. No matter what the base folder is or where the IOK file is saved, this will always be the link used. |
\file.txt | D:\file.txt | The link field is partially absolute. It does not contain a drive letter, but has a leading backslash. This means that the base folder's drive letter is used, but the base folder's path is ignored. |
file.txt | D:\Files\file.txt | The link field contains a simple filename. This is the normal usage, and creates a link to a file within the base folder. |
Subfolder\file.txt | D:\Files\Subfolder\file.txt | The link field contains a subfolder and filename, resulting in a link to a file within a subfolder of the base folder. |
Links:
[1] http://forums.visokio.com/?CategoryID=36