srang Posted October 30, 2014 Share Posted October 30, 2014 Hi I'm trying to do multiple searches using visualize.js and I followed the guide which said to donew ResourcesSearch({ server:"http://localhost:8080/jasperserver-pro", folderUri: "/public", recursive: false })).run(function(resourceLookups){ // results here});[/code]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 Link to comment Share on other sites More sharing options...
hozawa Posted October 31, 2014 Share Posted October 31, 2014 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 Link to comment Share on other sites More sharing options...
srang Posted October 31, 2014 Author Share Posted October 31, 2014 Alright that's good to know. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now