david_navigator Posted March 6, 2021 Share Posted March 6, 2021 I'm trying to use the TUniPDFFrame to display a pdf that is located on a remote server, but I get the error PDF.js v1.9.426 (build: 2558a58d) Message: file origin does not match viewer's Is it a prerequisite that the PDF file has to be located on the same server as the UNIGui app ? This is the PDF file URL https://objects-us-east-1.dream.io/navigator/pub/HireTRACK NX/HireTrack NX Trial Guide.pdf (UniGui 1.90 Registered.) Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 6, 2021 Share Posted March 6, 2021 1 hour ago, david_navigator said: I'm trying to use the TUniPDFFrame to display a pdf that is located on a remote server, but I get the error PDF.js v1.9.426 (build: 2558a58d) Message: file origin does not match viewer's Is it a prerequisite that the PDF file has to be located on the same server as the UNIGui app ? This is the PDF file URL https://objects-us-east-1.dream.io/navigator/pub/HireTRACK NX/HireTrack NX Trial Guide.pdf On the other hand, can you "download" external links to the PDF to the server first, and then "load" them from the local folder!? Quote Link to comment Share on other sites More sharing options...
david_navigator Posted March 6, 2021 Author Share Posted March 6, 2021 47 minutes ago, Sherzod said: On the other hand, can you "download" external links to the PDF to the server first, and then "load" them from the local folder!? Yes I should be able to do that, I was really just seeing if it was necessary or if the error message was because I forgot to set some property. Quote Link to comment Share on other sites More sharing options...
Gustavo_GRSoft Posted April 17 Share Posted April 17 I have the same issue... Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 17 Share Posted April 17 52 minutes ago, Gustavo_GRSoft said: Hello, You can also try this approach for now: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.