内容产物
该分类包含 1 条以 system.artifact. 开头的 Runtime 系统命令。
1. 创建内容产物
完整命令:system.artifact.create
创建带标题、合并单元格、类型化列、受控展示规则、已校验公式、精确跨表查找列与汇总行的 XLSX 工作簿;也可创建 CSV 表格、DOCX 文档、可原生编辑的 PPTX 演示文稿,或注册 UTF-8 文本/代码文件。结果保存在当前租户的文件资源中。 · 风险:写入
sl system artifact create \
(--definition-json json|--definition-file path) [--json]
参数:
format(必填)— Output format: xlsx, csv, docx, pptx, or one registered UTF-8 text/code formatfileName(必填)— Output filename, at most 150 characters. The selected format suffix is added when omittedsheets|columns+rows|document|presentation|content(必填)— XLSX requires sheets; CSV requires columns and rows; DOCX requires document; PPTX requires presentation; text/code formats require contentincludeBom(可选)— CSV only. Include a UTF-8 BOM for spreadsheet compatibility; defaults to true