JavaScript
{dialog.object}pdfViewerLoad Method
Syntax
{dialog.object}.pdfViewerLoad(controlID, filename)
Arguments
- controlIDCharacter
The PDFViewer control ID.
- filenameCharacter
The URL for a PDF to display. The URL can be relative to the application webroot or an absolute URL to a remote location.
Description
Displays a PDF in the PDFViewer control.
Discussion
The {dialog.object}.pdfViewerLoad() method sets the PDF shown in a PDFViewer control. The PDF filename is a URL, either to a remote file or a PDF published to the webroot on the Application Server.
Example
{dialog.object}.pdfViewerLoad("PDFVIEWER1","manual.pdf");
See Also