Hi,
I am trying to make a Search History widget to archive searches done in the WAB Search widget. I want to make it so that the Search History widget can pass a previous search to the Search widget, and then the Search widget will automatically perform a search on that previously searched term. I am running into a problem passing the data from the History widget to the Search widget. My code in the History widget is:
_testPublish:function(search){
this.publishData({"searchString":search);
},
In the Search widget, I have added the Search History widgets' name to the listenWidgetsIds array, and I modified its onReceiveData method to handle the data from the History widget.