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 等)导出文件。此参数只能用于导出二进制文件;它不应该用于报表对象。
    • LCM,将报表转换为迁移使用的格式,并将这些报表导出到 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