简体   繁体   English

Power Automate - 无法导航到文件夹或获取文件夹 ID

[英]Power Automate - Can't navigate to folder or obtain folder id

this is a general question about Power Automate and OneDrive that I've seen no solution to.这是一个关于 Power Automate 和 OneDrive 的一般问题,我没有看到解决方案。 I'm trying to create a flow "Copy files from a folder in OneDrive (Business) to an FTP server".我正在尝试创建一个流“将文件从 OneDrive (Business) 中的文件夹复制到 FTP 服务器”。 The trigger is "When a filed is created" in a OneDrive directory.触发器是 OneDrive 目录中的“创建文件时”。 When I attempt to navigate to the folder I just see ROOT, then "No Items".当我尝试导航到文件夹时,我只看到 ROOT,然后是“No Items”。

I also can't figure out how to obtain the unique identifier of the folder.我也无法弄清楚如何获取文件夹的唯一标识符。

I was able to get the ID of my folders with this short Instant flow.我能够通过这个简短的即时流程获得我的文件夹的 ID。

Instant Flow 以获取根 OneDrive 目录中的文件列表

It'll output a JSON response with the ID, Name, Path, etc for all your folders in the Root of OneDrive.它将输出一个 JSON 响应,其中包含 OneDrive 根目录中所有文件夹的 ID、名称、路径等。 There is also a "List files in folder" block that you can use to get subfolders of folders.还有一个“列出文件夹中的文件”块,您可以使用它来获取文件夹的子文件夹。

I was able to copy the ID string from the JSON response and paste it into the "When a file is create" OneDrive trigger and have it go off successfully.我能够从 JSON 响应中复制 ID 字符串并将其粘贴到“创建文件时”的 OneDrive 触发器中,并使其成功关闭。

问题是我试图使用 OneDrive(Business) 执行此操作,而我本应根据组织的许可证使用 Sharepoint

暂无
暂无

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

相关问题 如果文件不包含使用 Power Automate 的特定单词,是否可以删除文件夹中的文件? - Can files be deleted in a folder if they don't contain a specific word using Power Automate? Power Automate 从 excel 单元创建文件夹 - Power Automate create folder from excel cell 使用 Power 自动将 PDF 文件从 Sharepoint 文件夹复制到 FTP - Copy PDF files from Sharepoint folder to FTP using Power automate 使用 Power Automate,如何在将 email 保存到 SharePoint 文件夹之前更改其主题? - Using Power Automate, how can I change the subject of an email before I save it to a SharePoint folder? 检查共享点,如果文件存在于具有电源自动功能的共享文档文件夹中 - Check share point if file exists in a shared document folder with power automate 电源自动化 - 无法从 Sharepoint 文件夹中获取 JSON 内容 - Power automate - Unable to get JSON content from Sharepoint folder 使用电源自动化工作流程将文档移动到同一库的另一个文件夹中 - Move document in the another folder of same library using power automate workflow Power Automate - 找不到触发器或操作 - Power Automate - Can't Find Triggers or Actions 无法从 Power Automate 获得响应值 - Can't get a response value from Power Automate Power Automate:取一个带有两个附件的 email 并将每个附件保存到不同的文件夹中 - Power Automate: Take one email with two attachments and save each attachment into a different folder
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM