When defining a schema field with the constraint that it must be a document,
<xs:element name="mydocidprop"> <xs:simpleType> <xs:restriction base="xs:string" ref:resolver="documentResolver" ref:store="id" /> </xs:simpleType> </xs:element>
the expected format for the string is repositoryName:docId.
There are cases where it would be useful to have just the docId in order to do JOINs, or to use the result as documents in the same repository directly.
To do so, we could create a ref:store="idOnly".
- is related to
-
NXP-24924 Do not hardcode the repository name in DocumentModelResolver class
- Resolved
-
NXP-25184 Fix error in document resolver with system coresession
- Resolved
- is required by
-
NXP-23606 A consistent format for document ids should be used in Automation Scripting
- Resolved
-
ELEMENTS-690 Web UI: allow bare document reference (without repository name)
- Open
-
NXS-4748 Bare document reference without repository name
- Resolved
-
NXP-22475 Add document resolver on collectionMember:collectionId
- Resolved