Reputation: 976
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
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
Reputation: 3138
You may also call an XQuery script while ingesting documents into MarkLogic server which can put your documents into DLS
Upvotes: 2