upload_document_2_art.cmd 534 B

123456789
  1. REM ** Uploads 2 artifacts to one new created document (if not exists - otherwise append arts) in default workspace (api-key is defined in console.json) **
  2. REM ** AppServer must be started first / this script must be run in same directory as BO.Console / SHOULD be run As Administrator **
  3. @echo off
  4. call setenv.cmd
  5. set oldcd=%cd%
  6. cd %BOPath%
  7. %BOConsole% user_getapikey -name:test -outt:var
  8. %BOConsole% document_add -arts:%oldcd%\doc1_file1.bin;%oldcd%\doc1_file2.bin -force -user:test -akey:%bo_apikey% -akeyp:%bo_apipwd%
  9. cd %oldcd%