AnsweredAssumed Answered

How to search a space throuth webscripts

Question asked by shanmugaraja on Aug 3, 2007
Latest reply on Aug 6, 2007 by shanmugaraja
I know the space name. How to make the search for the space name space through web scripts with out passing the full path value. I want to pass only the space name in the path.  Say my path value is  'Test'  it may be any where down the line in the space hierarchy. I am using this code in my web scripts js file. Is this the correct way or do I need to do something else


userhome.childrenByXPath("*[@cm:name='"+path+"']/*");

Any help is appreciated.

Outcomes