简体   繁体   English

在 Azure 中的逻辑应用程序上获取文件内容活动

[英]Get file content acitivity on a Logic App in Azure

I'm running issues with an Azure's Logic App activity.我在 Azure 的逻辑应用程序活动中遇到问题。 I've got a 'for each' activity which is checking and copying some files (Excel) from a source into a blob storage.我有一个“for each”活动,它正在检查一些文件 (Excel) 并将其从源复制到 blob 存储中。 Now in the path (URL) where the files (Excel) are locate there is also a Folder which is giving me trouble in the 'for each' activity.现在,在文件 (Excel) 所在的路径 (URL) 中,还有一个文件夹,这让我在“for each”活动中遇到麻烦。 Before the folder was created, the files were alone inside that path.在创建文件夹之前,文件单独位于该路径中。 Once this new folder was created, the for each activity is erroring out reading the 'folder' and succeding in the Excel files.创建此新文件夹后,每个活动都会出错读取“文件夹”并在 Excel 文件中成功。 I now it can be solved just moving the folder out or the files into a different path but the source is managed by a different team.我现在只需将文件夹移出或将文件移到不同的路径即可解决,但源代码由不同的团队管理。 I'd like to know if there is some kind of filter that allow me just to pick the files (Excel)and skipping the existing Folder in the source path.我想知道是否有某种过滤器允许我只选择文件 (Excel) 并跳过源路径中的现有文件夹。 Thanks in advance提前致谢

在此处输入图像描述

Instead of Get file content you can use Get file content using path .您可以使用Get file content using path而不是Get file content

Get file content gives the file content using the file identifier . Get file content内容使用文件标识符给出文件内容。 The contents can be copied somewhere else or be used as an attachment.内容可以复制到别处或作为附件使用。

But in Get file content using path gives the file contents using the path .但是在Get file content using path给出文件内容

So, It's Get file content using path we get the file only it cannot identify the folder.所以,它是使用路径获取文件内容,我们只获取文件,它无法识别文件夹。

Refer here for sharepoint actions sharepoint 动作参考这里

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM