AnsweredAssumed Answered

Javascript Search Widget (searchWidget.sources.push(sources))

Question asked by on May 23, 2016
Latest reply on May 23, 2016 by fcbassongis


     Just would like to confirm that, the search widget is pushing search layer at right level or not ?


because when i try to push a source then it gets added in wrong heirchical level.




var sources = [ { declare only one source } ]

// Add to source(s)
var searchWidget = new Search();
//new source


Then it shows heirchy like





          [0] and here is my source (underneath of [1][0])


I believe my source should be at [1] level of heirchy.


Please correct me if i am missing anything.