I have a pdfReport application in which I need to save the generated pdf to my local server. The problem is that I always get an error message that tells me that it is not possible to generate the file.
This is the line of code that I am using
sc_pdf_output ($ _ SERVER [“DOCUMENT_ROOT”]. “/ HPRM / FAR-2019 -”. [parm2]. “. pdf”, “F”);
What am I doing wrong? How should I correctly specify the server address? I am using a server for testing before posting to the production one.
I have already tried specifying the address as “http://127.0.0.1/HPRM/FAR-2019-”, but it does not work.
I will appreciate your help. I have to have this working tonight to present it tomorrow morning.