File Name Resolution
The client specifies file paths that are relative to the Server OVSS Project directory. The path given must use .
characters in place of slashes \
. As such, file and directory names cannot contain any dot characters. Where possible, the paths should be fully qualified (complete and unambiguous). However, if a full path is not given, the server will attempt to find a matching path.
Example
A script file is located in the Standard_Include project. The full path on the server to the file is:
C:\ProgramData\Omniview\Server\<OVSS_Name>\Projects\Standard_Include\Scripts\Client\main.py
The complete path given to the server will be:
Standard_Include.Scripts.Client.main.py
If the file name main.py
is given on its own, the server will search through the start project. If the file is not found in the start projects, any included projects will be searched. The first file that matches the file name will be returned. A partial path can also be given to reduce ambiguity. For example, Client.main.py
will prevent the server script Server.main.py
from being returned.
When a file is found, the full path will be returned. The client will evaluate this path relative to it's own internal copy of the OVSS.
The $
character is used to tell the server to look one directory up, relative to the Projects folder. For example, $.syscon.xml
will return the syscon file located in the root of the OVSS. $.$.
will return the Server directory two levels above the Projects directory. This is the highest level permitted. Any path outside of the Projects directory must be fully qualified.