Loading TOC...

MarkLogic 9 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');
   

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.