[英]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.