Hello,
Is there any implementation of the merge file template using nextjs API ? I am using an external file hosting provider (UploadThing). the idea is to load file from this file hosting, perform modification then upload modified content to the same hosting provider.
Your documentation specifies only loading sfdt data and no data from external docx.
Another question is : how to configure word document to accept merging.
My Use case is that I want to build a service that's:
- Upload documents templates (word template, which are commonly translated documents)
- then the agent decides to create a new translation based on file type (marriage, sell, ...) then, the loader should load the template from the file provider, show in the sidebar list of fields (based on the selected customer)
- after merging (using nextjs API) a new version of the file is stored in a new file.
Many thanks for your help.