Hi everyone, hope everyone is doing well and staying safe.
Here's my issue.
I'm trying to automate creating a document library and populating this library based on a folder structure.
I create the library with a HTTP Call to SP and that works well.
but when I go to copy the folders I want into that new library I get error "
even though the library was created successfully.
screenshots below
I get the same result when I use "Copy Folder" instead of "Copy File".
Is there a better way to copy a folder structure from a library to another dynamically or I'm missing something with this method?
Thanks in advance
Hi @DemoMan ,
Please try the following configuration.
An error will be encountered when Flow is executed. The error will be encountered when moving the Forms folder. This error can be ignored. Because each library has a Form folder by default, there is a conflict here.
Image reference:
Hope this helps.
Best Regards,
Thanks for your reply,
The flow ends up timing out, the http request creates the library but it doesn't add the folders in it.
When I create the library manually and hard code the library name into the flow, it works.
is there really not a way to copy/move folders/files to a URL created dynamically?
Hi @DemoMan ,
You only need to fill a correct Library Name in Destination Folder. Like /LibraryName.
Since that you have used Parse JSON to parse the HTTP response, you could get the correct library Name.
Best Regards,
Thanks for your reply.
I tried using the library name out of the JSON parse and I got the same result.
Hi @DemoMan ,
Please try to use Get folder metadata action to get the path of the newly created Library root directory to verify the existence of Folder.
I think the method I provided can Copy a library folder structure to a library. It seems that the problem is with your newly created library.
Best Regards,
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.
User | Count |
---|---|
88 | |
57 | |
42 | |
37 | |
33 |
User | Count |
---|---|
86 | |
71 | |
61 | |
56 | |
40 |