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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

How to list the files in all the subfolders of a SystemRepository

AP_9587236
17-Peridot

How to list the files in all the subfolders of a SystemRepository

How to list the files in all the subfolders of a SystemRepository in a given directory.

Example path:

DCS001/R1/Device/Pressure/Pressure1.txt, Pressure2.txt, Pressure3.txt DCS001/R1/Device/Temperature/Temperature1.txt, Temperature2.txt, Temperature3.txt

 

We need a RestAPI/extension should have the following parameters:

Input file name: /SystemRepository/DCS001

Output: Pressure1.txt, Pressure2.txt, Pressure3.txt,Temperature1.txt, Temperature2.txt, Temperature3.txt

 

Kindly let us know the solution to achieve this usecase!

1 REPLY 1

@AP_9587236 

 

There are some OOTB services which you can use to list the files\directories in a repository, refer below screenshot,

Services are explained here 

SachinSharma_0-1642477556077.png

 

Regards,

Sachin Sharma

 

Announcements


Top Tags