It's all about the answers!

Ask a question

How to query the folder by its name using OSLC ?


Sanitha Pillai (61910) | asked Feb 18 '13, 2:25 a.m.

I need help with a query to find a folder by its name only .Folder hierarachy is not known .I tried the following queries but it didnt help.

The different queries used to search the folder "Stakeholders" are     
given below:-                                                          
                                                                       
1) https://clm20124.accenture.com/rm/folders?oslc.where=oslc.          
searchTerms="Stakeholders"&oslc.prefix=dcterms=<http://purl.           
org/dc/terms/>&oslc.select=dcterms:title                               
                                                                       
2)                                                                     
https://clm20124.accenture.                                            
com/rm/folders/_a6zOAFvtEeK2BobZJcb6Bg/containedResources?oslc.        
where=oslc.searchTerms="PL144*"&oslc.prefix=dcterms=<http://purl.      
org/dc/terms/>&oslc.select=dcterms:title                               
                                                                       
3)                                                                     
https://clm20124.accenture.com/rm/folders?oslc.where=dcterms:title="   
Stakeholders"&?oslc.where=public_rm:parent=*&oslc.prefix=dcterms=<http:
//purl.org/dc/terms/>&oslc.select=dcterms:title 

One answer



permanent link
Gabriel Ruelas (1.1k13) | answered Feb 18 '13, 10:55 a.m.
Hi,
Currently there is no way to search for Folders based on their name. The only way is traversing the folder structure, which is explained in : http://rhnaranjo.wordpress.com/2012/06/25/folder-support-added-to-rrc-4-0-oslc-rm-api-implementation/

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.