Update Document

Hello, I developed an operation that takes as parameter a documentModel (it is a param and not the input). I noticed that Nuxeo adds the prefix “default:” in documentModel type metadata. As an example: suppose I have a document with dc: description = my description and my type: hasrelationwith = 88548-854 … 87 (uid of another document), calling my operation, I will have “my description “as value for dc: description but for mytype: hasrelationwith I will have” default: 88548-854 … 87 " Do you have any idea how to prevent the addition of this prefix.

0 votes

1 answers

942 views

ANSWER



Hello,

You can remove the prefix by configuring the Document property in Studio (see screenshot).

Screenshot 2019-12-09 at 17.45.51.png

Regards

1 votes