We wanted to access the pdf files of the file system, in the perspective module.
We do not have a web development module.
So can you please advise on the ways to access pdf files on the file system, in perspective module.
Looking forward for the suggestions…
Thank you in advance.
That eliminates the only official way to do this from within Ignition. Your other option would be to place
apache in front of Ignition, where those serve your files and reverse proxy to Ignition for everything else. As suggested here:
Entirely inside Ignition, you can use the Webdev module to ‘host’ a directory on the filesystem and expose it.
Or (my recommendation), you can put a webserver ‘in front of’ Ignition that will actually receive requests (and serve the static files) and then reverse-proxy to Ignition on appropriate routes. On a Linux system, nginx is my go-to for this, because it’s reasonably easy to set up, very well documented, and very performant/stable. I don’t know of equivalent software for Windows. If you a…
If you can place your PDFs in a database, you might experiment with this:
Automation Professionals is pleased to announce an alpha release of its new Blob Server Module.
Available only for Ignition v8.1, here.
The Blob Server Module provides a simple way to deliver images, PDF files, or other binary content from a database to your Perspective clients or other web applications. Without needing the WebDev module. All you need is a Named Query that has appropriate security settings and returns a single row with two columns: Content, and ContentType.