Breadcrumbs

Niagara - Symbolic link to the Supervisor station

The article describes how to add a symbolic link (symbolic link) to a Supervisor station, so that the contents of any station folder (e.g., storing PDF exports of reports) are saved in a different location than the location where the files of the running station are kept.

To this end, start the Windows command line as an administrator. Then use the cd command to navigate to the shared folder inside the running station. Below is a sample command for a station named SymbolicLinkExample:

cd ../../ProgramData/Niagara4.11/vykon/stations/SymbolicLinkExample/shared

The next step is to create a symbolic link using the mklink command. The following example command creates a symbolic link from reports, which will be created in the current location, to the D:SupervisorReports folder.

mklink /D reports D:\SupervisorReports

The correct creation of the link will be confirmed by the following message:

symbolic link created for reports <<===>> D:\SupervisorReports

image-20230301-084706.png

The view of the symbolic link in Windows:

image-20230301-084748.png

The view of the symbolic link in the Supervisor's station:

image-20230301-084837.png

Now you can, for example, create an automatic export of the report to a file, so that it saves it in the symbolic link created earlier:

image-20230301-090835.png
image-20230301-091101.png
image-20230301-090823.png

Once the report is generated, it is visible in the stati

image-20230301-091233.png

But in fact, it is saved in the related link:

image-20230301-091218.png