cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

how to get all the subfolders and folders from a path i

AP_9587236
17-Peridot

how to get all the subfolders and folders from a path i

In system repository, I want all document in all subfolders under a starting folder which is a input. 

The actual path is - C:\ThingworxStorage\repository\SystemRepository\cName\mName\type\dName\sName\DetailedInfoFiles\csvfile.csv. The input is cName. From all subfolders of cName Folder, the restAPI search for files and return the filenames. 

Any useful API is available in SystemRepository?

2 REPLIES 2

 Hi,

 

A similar question was previously - "List all files in a File Repository (TXW 9.1)": https://community.ptc.com/t5/ThingWorx-Developers/List-all-files-in-a-File-Repository-TXW-9-1/td-p/716846 

slangley
23-Emerald II
(To:AP_9587236)

Hi @AP_9587236.

 

If the previous response answered your question, please mark it as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon

Top Tags