How to use "new ResourcesSearch"

Hi I'm trying to do multiple searches using visualize.js and I followed the guide which said to do

new ResourcesSearch({
    folderUri: "/public",
    recursive: false
        // 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

srang's picture
Joined: Oct 28 2014 - 11:52am
Last seen: 6 years 10 months ago

1 Answer:

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.

hozawa's picture
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 9 months ago

Alright that's good to know. Thanks!

srang - 8 years 4 months ago