移轉定義檔案的範例

以下的轉移定義檔範例適用於 Oracle Hyperion Planning 應用程式的移轉作業。Planning 之移轉定義檔案所使用的產品代碼為 HP,而範例應用程式則使用 SampApp

註:

如果移轉定義檔案中未使用正確的語法,則會顯示 ‘MDF 檔案的格式不正確’ 錯誤。

範例 H-1 匯出至檔案系統

<?xml version="1.0" encoding="UTF-8" ?>
<Package>
   <LOCALE>en_US</LOCALE>
   <User name="" password="" />
   <Task>
      <Source type="Application" product="HP" project="Default Application Group" application="HPAuto1" />
      <Target type="FileSystem" filePath="/HP-HPAuto1" />
      <Artifact recursive="true" parentPath="/Configuration" pattern="*" />
      <Artifact recursive="true" parentPath="/Global Artifacts" pattern="*" />
      <Artifact recursive="true" parentPath="/Plan Type" pattern="*" />
      <Artifact recursive="true" parentPath="/Relational Data" pattern="*" />
      <Artifact recursive="true" parentPath="/Security" pattern="*" />
   </Task>
</Package>

範例 H-2 從檔案系統匯入

<?xml version="1.0" encoding="UTF-8" ?>
<Package>
   <LOCALE>en_US</LOCALE>
   <User name="" password="" />
   <Task>
      <Source type="FileSystem" filePath="/HP-HPAuto1" />
      <Target type="Application" product="HP" project="Default Application Group" application="HPAuto1" />
      <Artifact recursive="true" parentPath="/Configuration" pattern="*" /> 
      <Artifact recursive="true" parentPath="/Global Artifacts" pattern="*" /> 
      <Artifact recursive="true" parentPath="/Plan Type" pattern="*" /> 
      <Artifact recursive="true" parentPath="/Relational Data" pattern="*" /> 
      <Artifact recursive="true" parentPath="/Security" pattern="*" /> 
   </Task>
</Package>