azure - 将文件拖放到 Sharepoint 文件夹中时如何触发 Azure 逻辑应用

标签 azure sharepoint azure-logic-apps

我创建了一个使用 Sharepoint 触发器“在文件夹中创建或修改文件时”的逻辑应用程序。当我在 Sharepoint 在线上传文件(在 Sharepoint 浏览器选项卡中)时,它工作得很好。但是,当我将文件放入同步的 Windows 资源管理器文件夹中时,它不起作用。

我读到有人遇到了同样的问题:https://learn.microsoft.com/en-us/answers/questions/41215/logic-app-why-does-sharepoint-file-properties-trig.html 。这里说:

Move files and flow runs When you move one or more files from one document library to another, the original file is moved from the source library to the destination library. Moving the file does not alter any custom metadata, including when the file was created and modified. Hence, this action does not trigger any flows for those file updates associated in the library where it was moved.

Syncing files to your OneDrive for business and SharePoint document libraries When users sync one or more files from one document library to another, the original file is moved (synced) from your client to the destination library. Syncing the file will not alter any custom metadata including when the file was created and modified. Hence, this action will not trigger any flows for those file syncs in that library or in your OneDrive for business.

问题是,我需要这个逻辑应用程序来运行,只需将此文件放入 Windows 资源管理器文件夹(这是与某个人共享的 Sharepoint 文件夹)中即可。你知道我怎样才能实现这个目标吗?

最佳答案

当我使用 OneDrive - 创建文件时 连接器时,它开始为我工作,因为我们使用 OneDrive for Windows Explorer 并且需要包含应调用触发器的文件夹。如果我们希望在向子文件夹添加任何文件时触发触发器,则必须将 Include subfolder 设置为 true。

这是逻辑应用工作的屏幕截图 enter image description here

在子文件夹中添加文件时 enter image description here

在根文件夹中添加文件时 enter image description here

关于azure - 将文件拖放到 Sharepoint 文件夹中时如何触发 Azure 逻辑应用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69545265/

相关文章:

sharepoint - 身份验证 Office 365 中不支持仅应用程序 token 问题

c# - 使用 SDK (C#) 示例创建逻辑应用工作流

azure - 使用 Azure 逻辑应用从共享邮箱使用 Microsoft Graph API 发送电子邮件

sharepoint - SharePoint 中内容类型的最佳实践

azure - 专用 AKS 无法找到本地文件的路径来通过 Helm 进行部署

azure - 如何通过Azure存储表的动态连接来部署逻辑应用

c# - 如何在 C# 中的 azure 认知搜索结果中返回 search.score

c# - Sharepoint 客户端对象模型设置 ModifiedBy 字段

azure - 如何使用工作流程在 azure 存储中创建 msg(outlook) blob?

asp.net - Azure 应用服务部署中心无法从 GitHub 存储库进行部署