It's all about the answers!

Ask a question

DNG 6.0: How to get Folder list inside Root folder


Naveen Tyagi (19778152) | asked Sep 07 '15, 6:35 a.m.
edited Sep 11 '15, 11:59 p.m. by Geoffrey Clemm (30.1k33035)
I am able to get list of the requirements inside DNG project, able to create folder in root folder but what i want to is to retrive list of all the folders inside the root folder and then all requirements in seleted folder. i am using Eclipse Lyo, OSLC and Java. I know there is already "Folder query capability" but didn't find any way to retrieve list of the folders inside root folder. Thanking in Advance.

Accepted answer


permanent link
Donald Nong (14.5k614) | answered Sep 07 '15, 8:38 p.m.
The folder specified in "public_rm:parent" of the base folder query IS the root folder. Running the base query without any extra parameters gives you a list of the folders (of first level) inside the root folder.
Naveen Tyagi selected this answer as the correct answer

Comments
Naveen Tyagi commented Sep 15 '15, 2:52 a.m.

Thanks Donald!! finally able to retrieve the list. i posted one more question for pulling out list of requirements from a folder.

https://jazz.net/forum/questions/206776/dng-60-list-of-requiremnts-in-a-folder


Naveen Tyagi commented Sep 15 '15, 2:52 a.m.

Thanks Donald!! finally able to retrieve the list. i posted one more question for pulling out list of requirements from a folder.

https://jazz.net/forum/questions/206776/dng-60-list-of-requiremnts-in-a-folder

Your answer


Register or to post your answer.


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.