EPM 云维与 Oracle Enterprise Data Management Cloud 应用程序同步

此示例方案介绍了在 Oracle Enterprise Performance Management Cloud 应用程序和 Oracle Enterprise Data Management Cloud 应用程序之间同步维。

使用本节中的脚本可完成以下任务:

  • EPM 云应用程序中导出元数据(维)
  • 将包含维数据的导出文件复制到 Oracle Enterprise Data Management Cloud 环境
  • 将维元数据导入到 Oracle Enterprise Data Management Cloud 应用程序

要在 EPM 云应用程序与 Oracle Enterprise Data Management Cloud 应用程序之间同步维:

  1. 通过复制以下脚本来创建 Windows 脚本文件:
    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

    修改脚本文件并设置所需的参数值。有关参数的说明和示例,请参阅“脚本执行的参数”。

  2. 手动运行脚本或调度该脚本以根据需要运行。请参阅“自动执行脚本”。