I have a PDF file on the Ignition Server. I can access the pdf and download using system.perspective.download(). But the download works only on the browser, it is not working from the perspective app. Am I missing anything ?
Code Snippet :filename = ‘Test.pdf’
filepath = ‘E:\Ignition\webserver\webapps\main’ + ‘\’ + filename
data = system.file.readFileAsBytes(filepath)
system.perspective.download(filename,data)