Hi I'm trying to do multiple searches using visualize.js and I followed the guide which said to do
new ResourcesSearch({ server:"http://localhost:8080/jasperserver-pro", folderUri: "/public", recursive: false })).run(function(resourceLookups){ // results here });
However I get the error "ResourcesSearch is not defined". I looked at this link which referenced the tutorial video. However in the tutorial they use v.resourcesSearch. I can't seem to get "new ResourcesSearch" to work and I'm not sure what I'm doing wrong
1 Answer:
Posted on October 31, 2014 at 2:53am
Just use v.resourcesSearch as in following page. It worked for me. Visualize.js is still being developed and it seems the guide is out of date.
https://community.jaspersoft.com/wiki/visualizejs-api-notes-and-samples
Alright that's good to know. Thanks!