importLibraryDocument

将 ZIP 文件中包含的一个或多个文档导入到 PlanningFinancial Consolidation and CloseEnterprise Profitability and Cost ManagementTax Reporting 库中的特定位置。

您可以使用此命令导入的文档包括 Microsoft Word 文档 (.DOC, .DOCX)、Excel 文档 (.XLS, .XLSX)、Power Point 演示文稿 (.PPT, .PPTX)、逗号分隔值文件 (.CSV)、PDF 文件(大小不超过 100 MB)、文本文件 (.TXT) 和文件存档(.ZIP,大小不超过 100 MB)。在运行此命令之前,请使用“导入迁移”屏幕或 EPM Automate 命令(如 uploadFilecopyFileFromInstancecopyFromObjectStorage)将源存档或源文件加载到环境中。

适用于

Planning自由形式Financial Consolidation and CloseEnterprise Profitability and Cost ManagementTax Reporting

所需角色

服务管理员

用法

epmautomate importLibraryDocument SOURCE_FILE DESTINATION [jobName=JOB_NAME][description=DESCRIPTION][overwrite=true|false][deleteAfterImport=true|false][errorFile=FILE_NAME.log],其中:
  • SOURCE_FILE 是包含要导入到库中的一个或多个文档的文档或存档的名称。
  • DESTINATION 是要将存档文件或内容导入到的目标文件夹的全限定路径或通用唯一标识符 (UUID)。
  • jobName(可选)是用于导入文档的导入文档库作业的名称。如果未指定值,则默认情况下使用将文档导入到库作业。
  • description(可选)是要导入的文档的说明。
  • overwrite(可选)标识是否使用与源文档相同的名称覆盖目标文件夹中的现有文档。默认值为 false
  • deleteAfterImport(可选)指定是否在导入过程完成后删除源文件。默认值为 false
  • errorFile(可选)是用于捕获在命令执行过程中报告的信息的文件名称。此文件将在发件箱中创建,并具有 .log 扩展名。

    使用 downloadFile 命令将此文件下载到本地计算机。

示例

epmautomate importLibraryDocument "FinancialReport2024.xlsx" "Library/Insights" jobName=ImportSingleDocument description="Annual Financial Report 2024" overwrite=true deleteAfterImport=true errorFile=FinancialReport2024ImportLog.log