AnsweredAssumed Answered

Close eSearch widget programmatically

Question asked by strainryan on May 7, 2015
Latest reply on Jan 23, 2017 by smonga

Does anyone have any idea how to close the eSearch widget programmatically after it has finished loading on startup? I want it to "openAtStart" to enable me to use the "esearch" and "slayer" URL parameters from a different application, although I don't want it to remain open for my users. Hopefully that makes some sense?


I've been playing around in the WidgetManager.js trying widget.closeWidget() and widget.destroy() and _removeWidget('_6') to no avail. Maybe I'm not placing these in the right place?