I’m on Document Server 9.4 and I’m trying to use DocBuilder to add the Signature field introduced in 9.3 (for documents that have a variable number of signers).
This is how I’m doing it in the docx:
let customerSig = Api.CreateSignatureForm({
key: "customer_signature",
role: "Customer",
required: true,
placeholder: "Signature"
});
// ...
And the payload for converting it to pdf with the document server:
{
"filetype": "docx",
"outputtype": "pdf",
"pdf": {
"form": true
}
}
I get is an image field that always tries to open a file dialog. It doesn’t even respond to config.events.onRequestInsertImage.
References:
- ONLYOFFICE Docs 9.3 released | ONLYOFFICE Blog
- gist:4812bbb1d42ad18c95c3ced24242e57a · GitHub (contains the 4 other doc links since as a new member I can only post two)