mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Add xlsx format to Spreadsheet-Node
This commit is contained in:
@@ -133,6 +133,11 @@ export class SpreadsheetFile implements INodeType {
|
|||||||
value: 'xls',
|
value: 'xls',
|
||||||
description: 'Excel',
|
description: 'Excel',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'XLSX',
|
||||||
|
value: 'xlsx',
|
||||||
|
description: 'Excel',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
default: 'xls',
|
default: 'xls',
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
@@ -236,6 +241,7 @@ export class SpreadsheetFile implements INodeType {
|
|||||||
'/fileFormat': [
|
'/fileFormat': [
|
||||||
'ods',
|
'ods',
|
||||||
'xls',
|
'xls',
|
||||||
|
'xlsx',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -338,6 +344,8 @@ export class SpreadsheetFile implements INodeType {
|
|||||||
wopts.bookType = 'ods';
|
wopts.bookType = 'ods';
|
||||||
} else if (fileFormat === 'xls') {
|
} else if (fileFormat === 'xls') {
|
||||||
wopts.bookType = 'xls';
|
wopts.bookType = 'xls';
|
||||||
|
} else if (fileFormat === 'xlsx') {
|
||||||
|
wopts.bookType = 'xlsx';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Convert the data in the correct format
|
// Convert the data in the correct format
|
||||||
|
|||||||
Reference in New Issue
Block a user