Document Transfer Utility
The WebCenter Content Document Transfer Utility for Oracle Fusion Applications is a feature-set Java library that provides programmatic access to the content repository.
Use the utility to import and export documents, such as import files that contain external data that you want to load into interface and application tables.
The library includes:
-
Oracle WebCenter Content client command line tool
-
Oracle WebCenter Content remote intradoc client (RIDC)
-
Oracle HTTPClient
-
Oracle Fusion Applications branding and defaults
Options for the WebCenter Content Document Transfer Utility for Oracle Fusion Applications fall into these categories:
-
DownloadTool program options
-
UploadTool program options
-
Debugging and silent invocation options
DownloadTool Program Options
This table describes the download tool program options:
Option |
Description |
---|---|
|
Protocol-specific connection URL of content server |
|
User name to leverage |
|
Password, supplied in command line |
|
Password, supplied in text file on the first line of the file |
|
ID of document revision to download dID is unique across repository dID changes with each revision Note:
Alternatively, specify the |
|
Content name Multiple revisions of a document can share the same Note:
You should also provide |
|
Revision to download Valid values: Default value: |
|
Path and name of local file to write |
Here you see a sample download invocation command:
java -classpath "oracle.ucm.fa_client_11.1.1.jar" oracle.ucm.client.DownloadTool
url=http://ucmserver.com:16200/cs/idcplg username=weblogic password=we1com3i
dID=21537 outputFile="/tmp/output.doc"
Here you see sample output:
Oracle WebCenter Content Document Transfer Utility
Oracle Fusion Applications
Copyright (c) 2013, Oracle. All rights reserved.
Performing download (GET_FILE) ...
Download successful.
UploadTool Program Options
This table describes the upload tool program options:
Option |
Description |
---|---|
|
Protocol-specific connection URL of content server |
|
User name to leverage |
|
Password, supplied in command-line |
|
Password, supplied in text file on the first line of the file |
|
Fully-qualified path of local primary file to upload |
|
Destination account |
|
Document title |
|
If uploading a document revision, check out the document from the repository before uploading the revision Valid values: Default value: |
|
Ignore error -22 (user has already checked-out the document) when checking-out the document. Valid values: Default value: |
Here you see a sample upload invocation command:
java -classpath "oracle.ucm.fa_client_11.1.1.jar" oracle.ucm.client.UploadTool
url=http://ucmserver.com:16200/cs/idcplg username=weblogic password=we1com3i
primaryFile="/tmp/resume.doc" dDocTitle="Resume of MSMITH" -dDocAccount=/acme/sales
Here you see sample output:
Oracle WebCenter Content Document Transfer Utility
Oracle Fusion Applications
Copyright (c) 2013, Oracle. All rights reserved.
Performing upload (CHECKIN_UNIVERSAL) ...
Upload successful.
[dID=21537 | dDocName=UCMFA021487]
Debugging and Silent Invocation Options
This table describes the usable options which are common to all tools.
Option |
Description |
---|---|
|
Verbose output Log filled with Request/Response DataBinders |
|
Minimal output |
|
Print tool revision or version |
|
Send program output to specified log file instead of the System.out log file |
|
Append log to existing log file rather than overwrite it Valid values: Default value: |
|
Override time out of socket Specify override time in seconds |
You can use the tools to test the connection. Provide only the url, user name, and password as you see in this sample test:
java -classpath "oracle.ucm.fa_client_11.1.1.jar" oracle.ucm.client.DownloadTool
url=http://ucmserver.com:16200/cs/idcplg username=weblogic password=we1com3i
Here you see the sample output:
Oracle WebCenter Content Document Transfer Utility
Oracle Fusion Applications
Copyright (c) 2013, Oracle. All rights reserved.
Performing connection test (PING_SERVER) ...
Connection test successful.