How to enable the option to create new documents from Choice/Multichoice fields of Document subtype?

Tabla de contenidos

To allow the creation of new documents from a Choice/Multichoice field of Document subtype in order to set that new document as the value of that field, you must go to the advanced configuration of the field and open the tab “Choice documents metadata type configs”:

There you will have different options:

  • Load options by default: if you enable it, it is used so that the selector options are loaded by default. This will affect performance.
  • Allow create document: when you enable it you will see the button to create a new document from the field, as seen in the image.

  • Use serie from parent for creation: if you select this option, at the time of creating the new document it will use the space of the current document, so it will not be requested in the form.
  • Required metadata for creation: when you enable it, in the new document creation form it will ask you to fill in the required fields.
  • Serie for creation: in this field you can select a space for which the document will be created and thus not request it in the creation form. In the event that a space is indicated here but the option “Use serie from parent for creation” is enabled, the one to use the space of the current document will take precedence, thus ignoring this field.
  • Document type for creation: in this field you can select a form for which the document will be created and thus not request it in the creation form.