此示例方案介绍了在 Oracle Fusion Cloud Enterprise Performance Management 应用程序和 Oracle Fusion Cloud Enterprise Data Management 应用程序之间同步维。
使用本节中的脚本可完成以下任务:
要在云 EPM 应用程序与 Oracle Enterprise Data Management Cloud 应用程序之间同步维:
rem Integration example to sync an application dimension between Cloud EPM and Cloud EDM rem Windows script for demonstration purposes only; do not use in production environments set EDMUSER=userid set EDMSVR=https://hostname set EDMPWDFILE=example_EDM.epw set EDMAPP=appname set EDMDIM=dimname set EPMUSER=userid set EPMSVR=https://hostname set PWDFILE=example_epm.epw set EPMEXPJOB=exportjobname rem Synchronizing EPM ---> EDM rem Export Metadata from EPM call epmautomate login %EPMUSER% %PWDFILE% %EPMSVR% call epmautomate exportmetadata %EPMEXPJOB% call epmautomate logout rem Import Dimension to EDM rem Log into the EDM environment call epmautomate login %EDMUSER% %EDMPWDFILE% %EDMSVR% rem Copy exported metadata file into the EDM environment call epmautomate copyfilefrominstance %EPMEXPJOB%.zip %EPMUSER% %PWDFILE% %EPMSVR% %EPMEXPJOB%.zip call epmautomate importdimension %EDMAPP% %EDMDIM% ReplaceNodes %EPMEXPJOB%.zip call epmautomate logout
修改脚本文件并设置所需的参数值。有关参数的说明和示例,请参阅“脚本执行的参数”。