Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

DNG 6.0 : how to check if folder already exists in DNG project(root folder)

how to check by Name a folder already exists in root folder in DNG project.

i have already implemented retrieval of folder  where i can check whether perticlar folder is already there or not. But i am serching for query based solution where i can pass folder name in query and check. Thanking in advance.

0 votes


Accepted answer

Permanent link
As I mentioned in the other post, you cannot actually "search" a folder by its name. All you can do is get the root folder, then its sub folders, then sub folders of sub folders, and so on.
Naveen Tyagi selected this answer as the correct answer

1 vote

Comments

Thanks!!! yes, That's same approach i start implementing, i have used recursion to pull out folder inside folder till last folder which contains no other folder. but if folders are more than its taking too much time. your advice to reduce this fetching folder list.

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Oct 05 '15, 7:49 a.m.

Question was seen: 2,279 times

Last updated: Oct 07 '15, 1:59 a.m.

Confirmation Cancel Confirm