MarkLogic Server 11.0 Product Documentation
cpf.documentGetState

cpf.documentGetState(
   doc as String
) as String?

Summary

Determine the document's current state, if any.

Parameters
doc The URI of the document.

Example

const cpf = require('/MarkLogic/cpf/cpf');

cpf.documentGetState('/myDocs/example.xml');
   
Powered by MarkLogic Server | Terms of Use | Privacy Policy