Replace document (-UDOC) command

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

-UDOC command syntax
>>-+- -DOCID-+--doc_ID--+-----------------+--------------------->
   '- -ID----'          '- -URL--file_URL-'   

>-- -UDOC--+---------------+-----------------------------------><
           '-data_from_map-'

-DOCID

-ID

Specifies the ID of the document in memory that is to be replaced. The -DOCID keyword is required.

-URL

Specifies the file URL 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.