DOORS - Folder search with using API
![]()
Hi everyone,
I am able to create an artifact & folder etc. But I have more than 2000 folders. Before creating an artifact I only know folder name. While creating an artifact I have to know folder URL.
Is there any documentation, any advice that how can I retrieve folder URL (ex:https://jazz:9443/rm/folders/_XqQ3Yf7fEeSTwNmIfiTrTw) by folder name? Otherwise I have to keep each folder url to somewhere(like db) to retrieve folder url.
My folder structure like this:
-a
--b
----c
----d
-x
--y
----c
----d
-t
--r
----c
----d
So if possible, I should be able to search folder "C" under folder "T"
|
One answer
![]()
Hello,
This is a recurrent question I think. There is a very interesting blog post at https://jazz.net/library/article/1197 . Scroll down to the middle of the page to find few examples of folder queries. I hope it helps. Best regards, JL Comments Hi Jean,
Hello,
<oslc:QueryCapability> <dcterms:title rdf:parseType="Literal">Folder Query Capability</dcterms:title> <oslc:queryBase rdf:resource="https://grarrc.ibm.com:9443/rm/folders?oslc.where=public_rm:parent=https://grarrc.ibm.com:9443/rm/folders/_Or3t4OrtEeGaNr-hWVrMiw" /> </oslc:QueryCapability> Then send a GET on the appropriate URI to get the list of folder in your project area. I hope it helps. You can't actually "search" a folder, as the folder query capability just gives a way to "locate" the root folder. See below post and the blog for more details.
HI Donald,
|