hi i have array of data in a widget ,i have published it using below method,
this.publishData({
'target':"Labelwidget"
'data': currentWidget.publishObj
});
i was unable to access the data from other widget
this.fetchDataByName('visiblelayerwidget');
i have taken widget communication sample has reference.
so,please help me in this