此範例案例探討如何在 Oracle Enterprise Performance Management Cloud 應用程式與 Oracle Enterprise Data Management Cloud 應用程式之間同步維度。
您可以使用本節中的指令碼來完成這些任務:
若要在 EPM Cloud 應用程式與 Oracle Enterprise Data Management Cloud 應用程式之間同步維度,請執行下列動作:
rem Integration example to sync an application dimension between EPM Cloud and 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
修改指令碼檔案並設定所需的參數值。如需參數的說明與範例,請參閱指令碼執行參數 。