简体   繁体   English

如何在 azure Logic App 中将大数据文件从 blob 存储发送到 Sharepoint?

[英]How to send the Large data file from blob storage to Sharepoint in azure Logic App?

am getting Invalid Template Error, need to send the file from Blob storage to Sharepoint Createfile]我收到无效模板错误,需要将文件从 Blob 存储发送到 Sharepoint Createfile]

Where the file size is 109.29 MiB.其中文件大小为 109.29 MiB。

[[Error: InvalidTemplate. [[错误:无效模板。 Unable to process template language expressions in action 'Create_file_2' inputs at line '1' and column '3144': 'The template language function 'body' cannot be used when the referenced action outputs body has large aggregated partial content.无法在“1”行和“3144”列的操作“Create_file_2”输入中处理模板语言表达式:“当引用的操作输出主体具有大量聚合的部分内容时,无法使用模板语言函数“主体”。 Actions with large aggregated partial content can only be referenced by actions that support chunked transfer mode.'.具有大量聚合部分内容的操作只能被支持分块传输模式的操作引用。 ] ]

How to send blob storage .xlsx huge file to Sharepoint when Create the file创建文件时如何将 blob 存储 .xlsx 大文件发送到 Sharepoint

Image of logic app: https://i.stack.imgur.com/lcQvH.jpg逻辑应用图片: https : //i.stack.imgur.com/lcQvH.jpg

Currently Sharepoint connector doesn't support transfer large files even though blob connector supports chunk files for transferring large file.目前 Sharepoint 连接器不支持传输大文件,即使 blob 连接器支持传输大文件的块文件。 You can raise your voice for feature request on this page .您可以在此页面上提出功能请求的声音。

For a workaround, you can use microsoft graph api to upload the file from blob to sharepoint.对于解决方法,您可以使用microsoft graph api将文件从 blob 上传到共享点。 Before request this api, you need to get a access token from app in azure ad and then use this access token as Authorization bear token.在请求此 api 之前,您需要从 azure ad 中的应用程序获取访问令牌,然后将此访问令牌用作授权熊令牌。 Here is a post which use another graph api in logic app for your reference.这是一篇在逻​​辑应用程序中使用另一个图形 api 的帖子,供您参考。

You can sharepoint rest api along with azure function app for transferring large files.您可以使用 sharepoint rest api 以及用于传输大文件的 azure 函数应用程序。 You should use small byte arrays to so that you won't run out of memory.您应该使用小字节数组,以免内存不足。 If you are using a trigger in logic app, you will need to used dountill step in logic app to make sure the file is completely uploaded since the sharepoint trigger gets triggered even before file is created如果您在逻辑应用程序中使用触发器,则需要在逻辑应用程序中使用 dountill 步骤以确保文件已完全上传,因为共享点触发器甚至在创建文件之前就已触发

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 用于将 SharePoint 库与 Blob 存储同步的逻辑应用程序 - Logic App to Synchronize SharePoint Library with Blob storage Azure Blob 存储到 Sharepoint 在线使用 Azure Logic Apps - Azure Blob storage to Sharepoint online using Azure Logic Apps 如何使用 Odata 链接服务将文件从共享点复制到 blob 存储 azure 数据工厂 v2 - How to copy files from sharepoint into blob storage azure data factory v2 using Odata linked service 如何通过 Azure 逻辑应用程序在共享点创建空白 Excel 文件 - How to create blank excel file at sharepoint through azure logic app 在 Sharepoint 文件夹中放置文件时如何触发 Azure 逻辑应用程序 - How to trigger Azure Logic App when dropping file in Sharepoint folder 逻辑应用程序 - 从共享点复制到 Azure BlobStorage - Logic App - Copy from sharepoint to Azure BlobStorage 我可以使用动态文件路径将文件从 Sharepoint 复制到 Azure Blob 存储吗? - Can I copy files from Sharepoint to Azure Blob Storage using dynamic file path? 如何将数据从Azure表存储获取到SharePoint Online - How to get data from Azure Table Storage to SharePoint Online 将文件从 sharepoint 复制到 ADF 中的 blob 存储时出错 - Getting error while copying the file from sharepoint to blob storage in ADF 具有 SharePoint 连接的 Azure 逻辑应用程序 - Azure Logic App with SharePoint Connection
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM