The thing about the PDF viewer in Perspective is that it must be served via an HTTP request like Carl said above and cannot use the path on the file system. Luckily, this can be easily achieved using the webdev module with these simple steps:
- In the designer, under the Web Dev context, create a File Resource
- Select your PDF and save it
- Now this creates the PDF as a web resource located at http://host:port/main/system/webdev/project_name/resource_name
- Now go back to Perspective and in the PDF viewer source property, you should be able to enter something like /system/webdev/project_name/resource_name
I’ve attached a simple project to this comment with a sample PDF viewer using a webdev PDF file.PDF_Test.zip (12.7 KB)