Used in
REQUEST Servers
Metadata (Publish) Parent elements
PUBLISH_METADATA Syntax
<PUT_METADATA_RELATIONSHIP > No Attributes
(r)<METADATA_SOURCE... /> (r)(m)<METADATA_CHILD... /> [And/Or] (r)(m)<METADATA_SIBLING... /> [And/Or]
</PUT_METADATA_RELATIONSHIP >
|
(r): Attribute or child element is required. (m): Child element can be used multiple times. |
Description
Establishes a relationship between a source metadata document and one or more child or sibling metadata documents.
Restrictions
- At least one occurrence of METADATA_CHILD or METADATA_SIBLING is required. One or both elements can be used multiple times.
- This element can be used by anyone who can publish documents. Relationships can be created for documents owned by other users.
Notes
- A child document is a subdocument to the current metadata document. A sibling document is a related document. For example, on the Details page in Metadata Explorer, links to a sibling document are listed under the parent document under the heading "Related Documents".
- See METADATA_ACTION for response.
Examples for PUT_METADATA_RELATIONSHIP
<?xml version="1.0" encoding="UTF-8" ?>
<ARCXML version="1.1">
<REQUEST>
<PUBLISH_METADATA>
<PUT_METADATA_RELATIONSHIP>
<METADATA_SOURCE docid="{C64D8F38-82B4-11D5-99C2-000086460FA0}" />
<METADATA_CHILD docid="{F99A8C01-76B3-62E5-12G4-056786460CA0}" />
</PUT_METADATA_RELATIONSHIP>
</PUBLISH_METADATA>
</REQUEST>
</ARCXML>
|
Back to top