|
| Command Line - Add Document |
|
|
|
Add DocumentsDocuments can be added from the command line allowing bulk document submission to be scripted. Syntax:{program files}\Pikaia\rocketDMS\rocket2.exe --add-document --username={username} --password={password} -result="{result file}" --path="{docstore path}" --document="{document/file to add}" --tag-{tag}="{value}"
*Multiple --tag-{tag} parameters can be used. Some of these may be required if your system is configured with mandatory tags. Example:"C:\Program Files\Pikaia\rocketDMS\rocket2.exe" --add-document --username=mike --password=?????? --result="C:\add_doc.out" --path="/Kereru/Flying" --document="L:\mike\maps\flight\MK-MS.pdf" --tag-date="2009-06-21" --tag-description="Motueka to Masterton Flight Plan" --tag-pass_to=mike --tag-status=review The document L:\mike\maps\flight\MK-MS.pdf will be added to the document store in the /Kereru/Flying folder path with these tags set: date : 2009-06-21 The result of the request will be placed into the file C:\add_doc.out . The contents of this output file can be read and tested. Output: On success the output file will contain the text string OK On failure the output file will contain the text string ERROR:{error message}
|
||||||||||||||||
| Last Updated on Thursday, 20 May 2010 11:06 |