by roddy » Fri Nov 26, 2021 12:53 am
Hi,
Thanks for the response; this relates to the previous post about the PDF Viewer plugin. It requires the files to be placed into a location accessible by a URL, so it needs to be within the server/webapps/ROOT/ folder structure.
Our structure has also been setup with templates that are stored within a directory off the Servoy server folder; we can configure this path for Velocity in the plugin settings but the other report generator we are using is not setup that way, so I needed to know where the server folder was to locate the template. While developing the application, I've at points needed to know the location for the server folder. This can be retrieved by plugins.UserManager.Server().servoyDirectory in the IDE but returns a different location once deployed which cannot be used to locate any sub-directories.
If we were to use the one supplied post-deployment, we would need to be able to confirm this was consistent to allow the deployment script to utilise it.