People asking how to address data files like Excel Sheets, Movies and Images from Ventuz if they are not included inside the VPR presentation file. The common solution is to create a absolute folder on a certain location where these files resist (like C:\Data) and address them by an abosule file-reference URL.
There is a much more comfortable way to do this. Use relative paths.
A relative path is not defined by the standard file-URL scheme, but many application (as well Ventuz) created their own representation of a relative file-URL.
To use it, you need to utilize the URL node of Ventuz and set the scheme to “FILE”.
Make the resulting URL a relative path by putting a leading dot-slash before the actual filename.
All other settings of the URL node can be ignored.
"./data.xlsx" "./subfolder/data.xlsx"
The resulting path is always relative to the current project:
- In Ventuz Designer the folder where the project file (.vzp) is located
- In Ventuz Presenter its the location of the presentation (.vpr) has been started
- In Ventuz Presenter/Runtime Director mode the location of the actual Director file (.vzd)
Download a mini-example for this here
