Replace document (-UDOC) command

The -UDOC command replaces an existing document in memory with a new one and returns the new document ID.

Read syntax diagramSkip visual syntax diagram
-UDOC command syntax

>>--- -UDOC doc_ID----+- -FILE file_URL-+----------------------><
                      '-data_from_map---'   

-FILE
Specifies the local file URL (file:///), or remote URL (http://), of the document that is to replace the document in memory. Either the -FILE or the data_from_map option is required.
data_from_map
Replaces the document in memory with dynamic data from a map. Either the data_from_map, or the -FILE option is required.