【问题标题】:How to convert blob file content to .docx in Azure Logic Apps如何在 Azure 逻辑应用中将 blob 文件内容转换为 .docx
【发布时间】:2021-11-09 12:28:31
【问题描述】:

我的 blob 容器上有一个 docx 模板。我想用来自 http 请求的值填充我的 word 文档(参见下面的逻辑应用图)。我不知道如何将结果“获取 blob 内容”转换为我能够填充的文件。

Sharepoint 不适合我。

我读过关于在逻辑应用上编写的文章,但我对这项技术还不熟悉,还无法在上面制作复杂的功能。

【问题讨论】:

    标签: azure-logic-apps azure-blob-storage


    【解决方案1】:

    您无法使用 blob 存储填充 word 文档。您只能使用 O365 连接器(即 SharePoint 网站、团队组或 OneDrive)进行填充。您可以在 Populate a Microsoft Word template 选项连接器本身中清楚地看到它。

    相反,您可以尝试以下方法。

    我正在使用 Html 文本来删除在初始化变量时要执行的任何 HTML 标记。

    这是我使用的 JSON 架构

    {
    "type": "object",
    "properties": {
    "Name": {
    "type": "string"
    },
    "Age": {
    "type": "integer"
    },
    "Gender": {
    "type": "string"
    },
    "PhoneNumber": {
    "type": "string"
    }
    }
    }
    

    【讨论】:

      猜你喜欢
      • 2019-05-09
      • 2021-02-18
      • 2017-09-21
      • 2017-10-17
      • 2018-03-20
      • 2020-12-26
      • 2018-10-17
      • 1970-01-01
      • 2020-05-07
      相关资源
      最近更新 更多