Hello,
I have created a widget, where I have file structure as
-images'
-manifest.json
-Widget.html
-list.js
-Widget.js
I am adding all the functionality in list.js.In list.js I have the data which I need to pass to another widget. So, I published the data from that list.js using this.publish.Data function and its not working.
Can anyone suggest me If I am doing something wrong?
Thanks & Regards,
Rahmath Unissa.
Solved! Go to Solution.
Ratmath,
The publishData method is inherited from the BaseWidget so your list.js does not have that method. You need to call this method from your Widget.js that inherits from BaseWidget.
Ratmath,
The publishData method is inherited from the BaseWidget so your list.js does not have that method. You need to call this method from your Widget.js that inherits from BaseWidget.