Antony
Antony

Reputation: 976

How to use dls:document-manage in MLCP bulk operation in MarkLogic?

We tried to do dls:document-manage for our documents stored in Marklogic database. We tried with MLCP bulk operation to load multiple documents from file system and how to simultaneously do the dls:document-manage for all these files.

Upvotes: 3

Views: 152

Answers (2)

TJ Tang
TJ Tang

Reputation: 931

Could you use a CPF action to put the documents into management via to dls:document-manage() function when the document is added? It seems that it might be relatively straight-forward to do given the example in the documentation. You would only need to make sure the user executing the MLCP bulk load has the dls-user role.

Upvotes: 3

Navin Rawat
Navin Rawat

Reputation: 3138

You may also call an XQuery script while ingesting documents into MarkLogic server which can put your documents into DLS

Upvotes: 2

Related Questions