Add Document

 

Storage Policy of OmniDocs Engine separates the actual data storage of a document from its Properties and Indexes. Adding a document into the System is a two-step process.

 

Step 1. Add document into the Image Server. (Physical storage of document) – Image server API provides an AddDocument function. User has to pass the indexIndex of the volumeVolume, to which the document is to be added, as a parameter to the function. This function returns the volumeVolume indexIndex (Index of the volumeVolume where the document is physically stored) and the Image Index (Index of the document in that volumeVolume).

 

View function Details for adding document to Image Server

 

Step 2. Adding the storage information and properties of document into dDocument cabinet Cabinet (Logical addition of a document in Document Cabinet) - After adding document to Image Server, User has to make the JTS call - NGOAddDocument. This call takes Volume Index and Image Index (which are returned by Image Server function) as parameters.

 

View call Details for adding document to Document Cabinet