Because XGW stores file links inside xot job files, an error might be generated if a file included on a job (xlg, bmp, etc.)is removed after the job is saved. XGW has a method for overcoming the moving of files called search paths. Setting these search paths is outlined in one of the documents attached at the bottom of this article.
However, many people do not realize that search paths are not limited to the local PC running the instance of XGW. Some companies prefer to store job files and included files on a central server for easy backup, or so that these files may be accessible by XGW installations on other networked computers.
For an environment with a central server or storage location, we recommend that you use drive mappings of the same drive letter on each PC. This way, you can make the same adjustments to the search paths on all network PCs.
For customers with no central storage location, the process is nearly identical. You will still want to use the same letters for mapping, but they will point to different folder locations on each PC.
For this example, we will have 3 PCs. We will call them PC1, PC2, and PC3
We will also assume that on each PC, we have shared the folder C:\xfiles and given it a share name of xfiles
For drive mappings, the computer name hosting the shared folder follows the "\\" and the share name folows the "\".
Here are the mappings I would make:
[PC1]
M:\ = \\PC2\xfiles
N:\ = \\PC3\xfiles
[PC2]
M:\ = \\PC1\xfiles
N:\ = \\PC3\xfiles
[PC3]
M:\ = \\PC1\xfiles
N:\ = \\PC2\xfiles
The default [PATHS] section of the xenetech.ini file reads as
NumberPaths=2
1=c:\xenetech32
2=c:\xfiles
Because we use the same drive letters for the mappings on each PC, we can simple edit the [PATHS] section of the ini file to read as follows:
[PATHS]
NumberPaths=4
1=c:\xenetech32
2=c:\xfiles
3=M:\
4=N:\
NOTE: Users will commonly make the mistake of setting path3 to M:\xfiles. THIS IS NOT CORRECT, because it would then be looking for the files on c:\xfiles\xfiles on the remote computer. You would only add XFILES to the new path values if you mapped to the root of the remote computer. While this is possible, it is not recommended because it can take significantly longer to search the entire drive of the remote computer.