Hello,
I defined following coputation:

What I try to model, is following:
If the value “kostenlos” was selected inside the Multi-Select Kosten*/value, then the A12-Field /xflb/kosten/kostenlos must habe a String of length=0.
Is is technically possible, that the A12-Documents later have a Field with the value “”, or will fields with value “” not appear in the Documents?
Thank you
a12User
Hi,
that should be technically possible. In Kernel we have following methods with which this can be configured/controlled:
Typescript
- DocumentService#removeEmptyFieldsAndGroups(document: object, model: DocumentModel): object;
Java
- DocumentDeserializationConfig#removeEmptyFieldsAndGroups
- DocumentSerializationConfig#removeEmptyFieldsAndGroups
- IDocumentService#removeEmptyFieldsAndGroups
As far as I can see, the standard behavior at Client and in DS is preserving field instances with “”-value.
Note: From Kernel point of view, field instances with value “” or null are handled as if they are not filled.