Skip to main content

Configuration object for opening a Word document.

Properties (4)

Property Type Default Required Description
data⚓︎ string x

The content of the document in HTML format.

isDocx⚓︎ boolean x

If true, the document data will be sent to Word in DOCX format. If false, the data will be sent as HTML.

name⚓︎ string x

Name for the Word document. Used for identifying the document in the app and will be the name of the document in Word when it's opened.

templateName⚓︎ string x x

Name of a template to use when creating the Word document. The template must be already present in Word.