Salesforce

Displaying a PDF (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Displaying a PDF (Magic xpa 3.x)

The Browser control can be used when creating reports. Obviously, the end-user will want to print reports at their site, not wherever the server happens to be. However, the Magic xpa printer setup will be referring to the printers on the server.

  1. Create a directory that will hold your PDFs on the server. For example, C:\PDF.

  2. Create an alias for your website that points to the disk directory. Here, the alias is named "PDF".

  3. Now you can reference the PDF from within the Browser on the server machine.


  4. When you print the report, use an expression to specify a filename within the C:\PDF directory.

  5. Set the PDF property to Yes. This will make the GUI report print to the PDF directory on the server, in PDF format.



    6. Now, after you run the report, you can open the PDF in the browser, using http://localhost/pdf/test.pdf.

See also

The RRC08 sample program in the RIA samples

Reference
Attachment 
Attachment