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