Following NXP-22450, Studio should be able to generate the new idOnly or pathOnly constraints.
The previous ones (id and path) should see their human-readable descriptions amended to clarify that they have a repository name prefixed, and differentiate them from the new ones.
TP
10.2+
AC
- In Nuxeo Studio, when editing a document property, value stored option offers:
- document id prefixed with repository id (default value)
- bare document id
- document path prefixed with repository id
- bare document path
- Contextual help shows:
Document reference is usually stored along with the repository id in case you may want to use several of them. It is the default and recommended value, although it may require to specify the repository id in some cases when dealing with automation operations.
You may still choose to store a bare value in case you are absolutely sure you will not use several repositories.
Storing the document id rather than its path is recommended for improved efficiency. Note that once documents using this property have been created, this configuration should not be changed without migrating values at database level.
- Depending on the value set, Studio generates the appropriate configuration
- depends on
-
NXP-22450 Allow bare document references without repository name
- Resolved