SheetJS: write method returns blank sheets when sending data to FormStack #3029
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#3029
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I am making a API call to FormStack which has a
xlsx
template I am using to pass some data to.The idea is I am sending different data to this template, and each time I do that operation, that data will populate a new sheet. At the end I should have a excel document with
n
amount of sheets. e.g.[ { sheet-1-data },{ sheet-2-data } ] => spits out excel doc with two sheets with each sheet styled/based on template living in FormStack
.My problem is while it generates a file generated with two sheets, each tab is blank.
I am using Nest.js, And this is my service which is processing the Buffer.
Any thoughts as to why I am getting no template of data for it in each sheet?
Any help would be appreciated!
Most likely the error is here:
You need to pull and append individual sheets:
The
true
argument ensures that worksheet names are deduplicated.Thanks so much! The templates got generated!