How to use WebCenter Content Document Transfer Utility
In the previous article, we learnt about "How to Upload/Download files to/from Oracle WebCenter Content Server (UCM)". In this article, we are going to learn how to use WebCenter Content Document Transfer Utility.
We need to download WebCenter Content Document Transfer Utility from OTN and save in local machine.
We need to download WebCenter Content Document Transfer Utility from OTN and save in local machine.
Steps to Upload Files to UCM
i. Unzip 150521-REL10-oracle.ucm.fa_client_11.1.1.zip
file.
ii. Open command prompt. Set JAVA HOME to point the Jdk
1.7.
C:\Users\XXX_ADMIN>set
JAVA_HOME=C:\oracle\products\jdk1.7.0_76
C:\Users\XXX_ADMIN>SET PATH=%JAVA_HOME%\bin;%PATH%
C:\Users\XXX_ADMIN>java -fullversion
java full version "1.7.0_76-b13"
iii. Go to the directory in your command prompt.
C:\Users\XXX_ADMIN>cd C:\WebCenter Content Document
Transfer Utility\150521-REL10-oracle.ucm.fa_client_11.1.1\ridc
iv. Place your data file ( zip file for HDL) in your local
machine and issue below command.
java -cp "oracle.ucm.fa_client_11.1.1.jar"
oracle.ucm.client.Upload Tool --url="https://hostname:port/cs/idcplg"
--username="*****" --password="*********"
primaryFile="Worker_UCM_Upload_Test.zip" --dDocAccount="hcm/dataloader/import"
username: Application User Name
password: Application Password
primaryFile: Path where file is placed along with file
name (In above example file was placed under WebCenter Content Document
Transfer Utility\150521-REL10-oracle.ucm.fa_client_11.1.1\ridc )
dDocAccount: hcm/dataloader/import
Example:
C:\WebCenter Content Document Transfer
Utility\150521-REL10-oracle.ucm.fa_client
_11.1.1\ridc>java -cp
"oracle.ucm.fa_client_11.1.1.jar" oracle.ucm.client.Upload
Tool --url="https://xxx.oraclecloud.com/cs/idcplg"
--username="xxxx" --password="******"
primaryFile="Worker_UCM_Upload_Test.
zip"
--dDocAccount="hcm/dataloader/import"
Oracle WebCenter Content Document Transfer Utility
Oracle Fusion Applications
* "dDocTitle" option not set;
defaulting option to value "Worker_UCM_Upload_Tes
t.zip".
Performing upload (CHECKIN_UNIVERSAL) ...
Upload successful.
[dID=4169 | dDocName=UCMFA004169]
This returns UCM Content ID (dDocName) upon success.
Steps to Download Files from UCM
i. Set JAVA HOME as mentioned earlier.
ii. Issue below command from command prompt.
C:\WebCenter Content Document Transfer
Utility\150521-REL10-oracle.ucm.fa_client
_11.1.1\ridc>java -classpath
"oracle.ucm.fa_client_11.1.1.jar" oracle.ucm.client
.DownloadTool url=https://xxx.oraclecloud.com/cs/idcplg
username=xxxx password=******** dID=4169 outputFile="C:\temp\Worker_UCM
_Upload_Test.zip"
Oracle WebCenter Content Document Transfer Utility
Oracle Fusion Applications
Performing download (GET_FILE) ...
Download successful.
Wrote file
"C:\temp\Worker_UCM_Upload_Test.zip".
This will download the file to the
location mentioned in your command.
How
to Search Files in UCM
java
-classpath "oracle.ucm.fa_client_11.1.1.jar"
oracle.ucm.client.SearchTool url=https://xxx.oraclecloud.com/cs/idcplg
username=xxxx password=*****
dDocName%=PERS SortField=dID SortOrder=DESC
Same concepts can be applied in Oracle Fusion Middleware (SOA/SOA-CS/ICS) or any other platform for automation of Oracle Cloud Fusion Application interfaces using this tool.
Same concepts can be applied in Oracle Fusion Middleware (SOA/SOA-CS/ICS) or any other platform for automation of Oracle Cloud Fusion Application interfaces using this tool.
Comments
Post a Comment