A Fusion Scenario To Gather All Files Found In Specific Folders | Community
Skip to main content
Eric_D_Miller
Level 5
February 27, 2025
Solved

A Fusion Scenario To Gather All Files Found In Specific Folders

  • February 27, 2025
  • 1 reply
  • 827 views

Hello,

 

I am trying to run a scenario that will allow me to gather of all of files in a collection of projects and to copy all of those files to a new project.

The files I need are all found across multiple folders, all with a standard name, (across multiple projects) so a search by folder name is possible. What I am stumped on is how to build the custom API call to account for the folder name when searching for documents.

Here is what I tried with error:

Any help would be much appreciated.

 

Thank you,

Eric

Best answer by ChrisStephens

I would invert your logic and find all of your folders, instead of the documents, and include the list of documents on the returned folders.

 

1 reply

ChrisStephens
Community Advisor
ChrisStephensCommunity AdvisorAccepted solution
Community Advisor
February 27, 2025

I would invert your logic and find all of your folders, instead of the documents, and include the list of documents on the returned folders.

 

Eric_D_Miller
Level 5
February 27, 2025

Hi Chris,

 

How would you include that list? I get an error when I try to reference a collection in the key.

ChrisStephens
Community Advisor
Community Advisor
February 27, 2025

That's wierd, when you search for folders, you should be able to include "documents" in the fields key and get the docs in those folders. What does your query string look like?