
xdmp.documentGetMetadataValue( uri as String, keyName as String ) as String?
Returns the metadata value of a given document.
| Parameters | |
|---|---|
| uri | The document URI. |
| keyName | Name of the key for the metadata. |
xdmp.documentGetMetadataValue("doc.json", "temporalProtectExTime")
=> Metadata of key "temporalProtectExTime" on doc.json
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.