I need to get all files that are part of component. Incase the component is having multiple folders, the code needs to iteratre through all folders and it needs to give only file items.
Hi Thanks for your reply. I have tried that solution. In my case I have multiple folders in my component(Folders inside folders I am having). With that solution I need to iterate multiple times. Example, I will get one child folder, that will be having one file and 2 folders, again i need to get into that folders and iterate. It will keep on go like this. So I am looking for some other solution.
When you say you wish to get the files, do you want to download them? There is an example here which uses the loadDirectory() method.
http://thescmlounge.blogspot.com/2013/08/getting-your-stuff-using-rtc-sdk-to-zip.html
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means.
Learn more here.