Documentation

documentgenerator.document.update

documentgenerator.document.update(id, values, stampsEnabled = 1, fields = [])

The method updates existing document with new values. It must be considered that the document based on a deleted template cannot be updated. Works similarly as the documentgenerator.document.add().

Parameters

Parameter Description
iddocument identifier.
valuesarray of new document field values.
stampsEnabled1 (enable), 0 (remove) stamps and signatures.
fieldsfield settings.

Examples



© «Bitrix24», 2001-2024