--- title: "system.db.exportHTML" description: "Exports the contents of a dataset to an HTML page." --- # system.db.exportHTML > Exports the contents of a dataset to an HTML page. ## Description Exports the contents of a dataset to an HTML page. Prompts the user to save the file to disk. ## Syntax `system.dataset.exportHTML(filename, showHeaders, dataset, title)` * Parameters * String `filename` - A suggested filename to save as. * boolean `showHeaders` - If true (1), the HTML table will include a header row. * Dataset `dataset` - The dataset to export. * String `title` - The title for the HTML page. * Returns * String - The path to the saved file, or None if the action was canceled by the user. * Scope * Client