ONLYOFFICE 7.0: online forms, password protection in sheets, collaboration improvements and much more
ONLYOFFICE 7.0 released

Can docbuilder use custom parameters?

I use Web Document Builder API to generate documentation, how to pass custom parameters.In the .docbuilder I use 【var sCompany = Argument[“company”];】 to receive parameters and the result is undefined.

Hello, there is no way to pass custom parameters to builder. All available methods are described in the documentation:

thanks for your answer。ONLYOFFICE Api Documentation - Web Document Builder API this method cannot pass parameters,I can use the following:

docbuilder.exe "--argument={\"company\":\"ONLYOFFICE\",\"product\":\"ONLYOFFICE Document Builder\",\"compatibility\":\"100%\"}" "path-to-file\sample_with_arguments.docbuilder"