AnsweredAssumed Answered

getting wca:outputpathpattern  using a webscript

Question asked by eruditionist on Aug 27, 2009
in my javascript I am getting a form node by doing a lucene search for example
var simpleSearch = search.luceneSearch("TYPE:wca\\:formfolder AND @cm\\:name:\"Address\"");

In order to get the outputpath I have to do
simpleSearch [0].properties["wca:outputpathpattern"];

This gives me the output path of the form but when I do["wca:outputpathpattern"]; it doesnt work. Can someone tell me why do I have to search on index 0 of the form to get the property?