Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CGJQPDFViewer help needed
#1
I am tryng to use the CGJQPDFViewer to view a PDF file from the Cache folder.

I am copying the file to the Cache and setting the  

I get the error in the PDF viewer :

Message: Missing PDF "http://127.0.0.1:8888/$/MyApp/zHOG5EAdJuoVjqQJqQUg9W/EXP_20170525_583001.pdf?cache=1731781782136".

The file acually does exist in the temporary cache folder ???? I even test that it exists before I assign the value

s1 := WebApplication.UserCacheDir+ExtractFileName(UserSession.qry1DocFile.Value);
s2 := webapplication.UserCacheUrlBase+ExtractFileName(UserSession.qry1DocFile.Value);


  if fileexists( s1)then
      PDFv1.JQPDFViewerOptions.PDFFileName:= s2;
Reply


Messages In This Thread
CGJQPDFViewer help needed - by lfeliz - 11-16-2024, 06:51 PM
RE: CGJQPDFViewer help needed - by lfeliz - 11-17-2024, 07:04 PM
RE: CGJQPDFViewer help needed - by lfeliz - 01-15-2025, 09:15 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)