cancel
Showing results for 
Search instead for 
Did you mean: 

Finding NodeRef for categories

jeyaa
Champ in-the-making
Champ in-the-making
Hi All,

1. I have a category like
/cm:Vehicle/cm:fourWheeler/cm:car/cm:BMW
. Now I need to find out the node reference of cm:Car 's Node ref. ie., BMW's parent category node ref. How can I achieve this through java.

2. How could I find out the parent categories of cm:BMW throgh java. ie., I  need like
/cm:Vehicle/cm:fourWheeler/cm:car
.


Thanks,
Jeya
3 REPLIES 3

patil
Champ on-the-rise
Champ on-the-rise
Hi,
You can do the Category queries. Category queries are similar to PATH queries.


Thanks,
Patil
Cignex Technologies
Bangalore

jeyaa
Champ in-the-making
Champ in-the-making
Thanks patil, But i want to retrive the parent categories for a specific category during run time. So how could I achieve that.?


Thanks,
Jeya

patil
Champ on-the-rise
Champ on-the-rise
Use categoryService.

Thanks,
Patil
Cignex Technologies
Bangalore
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.