cancel
Showing results for 
Search instead for 
Did you mean: 

Restricting a menu item to a specific Space

vasuki
Champ in-the-making
Champ in-the-making
Hi, I have added a new menu item (using web-client-config-custom.xml) that will trigger a Javascript. Now, I would like to limit the Spaces that this menu item shows up…
I assume I need to use the "evaluator" and "condition" attributes (config tag) to do this, but I cannot find any documentation on how these are used. Should I be using the "string-compare" evaluator, and if so, how do I specify that I want this action restricted to a single space (and all documents and subspaces within it)?
31 REPLIES 31

rivarola
Champ on-the-rise
Champ on-the-rise
Hi,

Are you sure your custom evaluator class or JAR is in the classpath ?

tfpadilla
Champ in-the-making
Champ in-the-making
Hi rivarola,

you are right, that was the problem. I've already solved it and now it works as expected.

Thanks for your reply.