Can any one plz share the code for converting csv file to html .Plz share the nodeJs code.
I checked in the groupdocs documentation but its only working for docx to html conversion and not working for csv to html conversion.
Have you tried this?
const conversion_cloud = require("groupdocs-conversion-cloud");
const clientId = "XXXX-XXXX-XXXX-XXXX";
const clientSecret = "XXXXXXXXXXXXXXXX";
const convertApi = conversion_cloud.ConvertApi.fromKeys(clientId, clientSecret);
let settings = new conversion_cloud.ConvertSettings();
settings.filePath = "path/to/csv/file";
settings.format = "html";
settings.outputPath = "ConvertedFiles";
let result = await convertApi.convertDocument(new conversion_cloud.ConvertDocumentRequest(settings));
Was taken from GroupDocs documentation
This page uses frames, but your browser doesn't support them.
– Lokesh Jul 31 '23 at 10:13