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----+- -URL file_URL-+-----------------------><
                      '-data_from_map--'   

-URL
Specifies the local file URL (file:///), or remote file URL (http://) of the document that is to replace the document in memory. Either the -URL 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 -URL option is required.