cancel
Showing results for 
Search instead for 
Did you mean: 

Searching for a Category Introduced via the Web Client

criswlawrence
Champ in-the-making
Champ in-the-making
I am trying to use the Javascript API to locate a specific set of category nodes that I added via the Administrator console on the web client.  They are located under the root node, "VU Media", that I similarly created.  My search is:

search.luceneSearch("PATH:\"/cm:generalclassifiable/cm:VU_x0020_Media//*\"");

The search yields no nodes and yet if I substitute one of the out of the box categories:

search.luceneSearch("PATH:\"/cm:generalclassifiable/cmSmiley Frustratedoftware_x0020_Document_x0020_Classification//*\"");

I get all the subcategories, as I would expect.

Am I naming my VU Media category incorrectly?
1 REPLY 1

criswlawrence
Champ in-the-making
Champ in-the-making
I think I know the problem….

I had changed the name of my root category from "Media Category" to "VU Media".  I don't recall whether I populated the subcategories before or after the name change.  But when I used the Node browser, I came up with the old "Media Category" reference.  When I dropped my root category and created the category anew, all appeared to worked well.  This strikes me as a bug.  What do you think?