##### Define > XML Interfaces > XML Wizard

# PDF

The PDF XML Interface option creates an XML Interface to enable creation of a PDF file. The conversion from HTML to PDF is done by HTMLDOC, a separate product covered by a separate license (the GPL) which is included because it may be useful to the users of Genesys Agent Scripting. Both binary and source code distributions of HTMLDOC are available.

This option opens the XML PDF Wizard dialog box.

## PDF Interface Name

Use the PDF Interface Name field to provide a name for the interface that can be used to create a PDF file. This name will be shown on the Genesys Agent Scripting button associated with this XML interface.

## PDF Source

You may either select static or field. If Static is selected, you need to provide the file to be converted to PDF. If Field is selected, you need to select the field that points to the file to be converted to PDF.

## URL

You must select a field from the drop-down list. The field will contain the URL that points to the generated PDF file.

## Runtime Location

You can enter the runtime location (or navigate to it using the Browse button), of the HTMLDOC PDF generation tool. This is the location as executed by the Web Server.

## Finish

The Finish button will create the PDF Interface and will display a confirmation message indicating that the XML Interface has been created.

## Cancel

Click Cancel to stop the interface creation and close the dialog box.