It would be helpful to have such an option when the DOCVARIABLE field cannot be calculated. For instance, if the Document.CalculateDocumentVariable event is not handled and a key-value pair for the DOCVARIABLE field is not found in the Document.Variables dictionary.
Provide the capability to not change the DOCVARIABLE field value while updating fields
Answers approved by DevExpress Support
We have implemented the functionality described in this ticket. It will be included in our next update(s).
Please check back and leave a comment to this response to let us know whether or not this solution addresses your concerns.
Set the FieldOptions.ClearUnhandledDocVariableField to false so that the DOCVARIABLE field won't be changed when a value cannot be calculated.
- v15.2.4Download Official Update
- v15.1.8Download Official Update