...
The forDocType
element is repeatable, so the above report could easily be generalized to a “Related Objects” report runnable from any procedure record type listed in forDocTypes
.
Each forDocType
value should be the objectName
property assigned to the given record type in the UI layer, which corresponds to the NUXEO_DOCTYPE
constant value assigned in the Services layer.
UI objectName values can be found in the cspace-ui.js repository (or relevant profile or extension repositories) under:
src/plugins/recordTypes/{rectype}/serviceConfig.js
NUXEO_DOCTYPE can be found in the services repository under:
...
Where to find the correct docType values
Registered docType
values will be categorized into service groups, available via the /servicegroups
REST-ful API service for the given CollectionSpace instance.
Examples for the Anthro sandbox site:
https://anthro.collectionspace.org/cspace-services/servicegroups/procedure
https://anthro.collectionspace.org/cspace-services/servicegroups/authority
The docType
value for Objects is CollectionObject
(Check /servicegroups/object
for your instance to verify.)
supportsSingleDoc element
...