Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
HtmlSaveOptions.exportFrameScriptsAndProperties property to disable the export.
The following sample code allows you to disable exporting frame scripts and document properties. Once you convert a workbook into HTML, the output file will not contain any frame scripts and document properties.
const path = require("path");
const AsposeCells = require("aspose.cells.node");
// The path to the documents directory.
const dataDir = path.join(__dirname, "data");
// Open the required workbook to convert
const filePath = path.join(dataDir, "Sample1.xlsx");
const workbook = new AsposeCells.Workbook(filePath);
// Disable exporting frame scripts and document properties
const options = new AsposeCells.HtmlSaveOptions();
options.setExportFrameScriptsAndProperties(false);
// Save workbook as HTML
workbook.save(path.join(dataDir, "output.out.html"), options);
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.