【问题标题】:Save password protected pdf file from outlook using Microsoft flow使用 Microsoft 流程从 Outlook 保存受密码保护的 pdf 文件
【发布时间】:2019-01-03 14:19:36
【问题描述】:

我正在尝试使用 Microsoft 流程从 Outlook.com 自动保存附件。

相关附件是受密码保护的 PDF。

我尝试使用
Attachment Content 作为File ContentOnedrive 操作Create File 中的值

它给出了错误:
InvalidTemplate. Unable to process template language expressions in action 'Create_file' inputs at line '1' and column '2492': 'The template language function 'base64ToBinary' expects its parameter to be a string. The provided value is of type 'Null'. Please see https://aka.ms/logicexpressions#base64ToBinary for usage details.'.

有没有办法解决这个问题或解决这个问题?

提前感谢您的帮助。

【问题讨论】:

    标签: power-automate


    【解决方案1】:

    我能够找到解决方案。
    在这个问题中,我试图阅读受密码保护的 pdf 内容。这不起作用,因为它需要提供密码(这不是一个选项)。

    解决方法是:
    1. 获取带有附件的电子邮件(作为触发器/操作)。
    2.使用Get AttachmentAction获取附件。
    3. 要获取文件内容,使用属性(动态内容),即Body from Get Attachment

    这可以用来在Onedrive 中创建一个新文件。这将创建一个新文件,该文件仍受密码保护,但内容正确。

    我希望这会有所帮助。

    【讨论】:

      猜你喜欢
      • 2011-12-23
      • 1970-01-01
      • 2021-03-28
      • 1970-01-01
      • 2010-09-27
      • 1970-01-01
      • 2013-07-14
      相关资源
      最近更新 更多