exportLibraryArtifact

匯出 Narrative Reporting 程式庫物件。或者,僅針對報表物件,此命令可以將此次匯出轉換為 LCM 檔案,然後將其匯入至 Financial Consolidation and ClosePlanningPlanning 模組Tax Reporting

完成匯出時,請使用 downloadFile 命令,將匯出檔案和錯誤檔案下載至本機電腦。

適用於

Narrative Reporting

必要角色

服務管理員超級使用者使用者檢視者

具備超級使用者使用者檢視者角色的使用者必須透過 ACL 取得額外的安全性

用法

epmautomate exportLibraryArtifact ARTIFACT_PATH EXPORT_FILE [exportFormat=Native|File|LCM] [applicationName=APP_NAME] [errorFile=ERROR_FILE.txt],其中:
  • ARTIFACT_PATHNarrative Reporting 程式庫中物件的位置。
  • EXPORT_FILE 是要作為物件匯出目的地之檔案的唯一名稱。
  • exportFormat (選擇性) 是以下之一:
    • Native 會將物件匯出為 zip 檔案,然後可用於其他 Narrative Reporting 環境。此為預設值。
    • File 會以 Narrative Reporting 提供的原始二進位格式 (PDF、DOCX、Zip、JPEG 等) 匯出檔案。這個參數只能用於匯出二進位檔案;不應與 Reports 物件搭配使用。
    • LCM 會將報表轉換為 Migration 使用的格式,並將它們匯出為 ZIP 檔案,該檔案可以匯入 Financial Consolidation and ClosePlanningPlanning 模組Tax Reporting 環境。
  • applicationName (選擇性) 是指目標應用程式的名稱,您計劃將報表匯入至該應用程式。只有當您將 LCM 當作 exportFormat 參數的值時,才需要此值。
  • errorFile 是將儲存匯出相關錯誤之文字檔案的唯一名稱 (選擇性)。

範例

  • 以原生格式匯出報表,以便將其匯入另一個 Narrative Reporting 環境:

    epmautomate exportLibraryArtifact "Library/Samples/Sample Report 1" exp_SampleReport1.doc errorFile=export_errors.txt

  • 以原始二進位格式匯出試算表:

    epmautomate exportLibraryArtifact "Library/Spreadsheets/Sheet1.xlsx" exp_Sheet1.xlsx exportFormat=File errorFile=export_errors.txt

  • 匯出報表並進行格式化,以便匯入至 Financial Consolidation and ClosePlanningPlanning 模組Tax Reporting

    epmautomate exportLibraryArtifact "Library/Samples/Sample Report 1" exp_SampleReport1.zip exportFormat=LCM applicationName=Vision errorFile=report_exp_errors.txt