Nuxeo coverage and subjects default value

saliminam
Champ in-the-making
Champ in-the-making

Hi. How can I do to put a default value for coverage and subjects meta. In fact I want to get this value by the parent folder.

I work with Nuxeo CAP 5.6 with latest fixes (22).

Thanks to help me. moise

1 REPLY 1

Anahide_Tchertc
Elite Collaborator
Elite Collaborator

Hi,

On 5.6 the only way to set default values dynamically is to prefill the document model to be created via an event listener to the emptyDocumentModelCreated event. In Studio you can achieve it using an event handler, and an automation chain that sets the property as you'd like.