I'm trying to publish a layer to attribute table widget by using the mentioned code snippet.
In the same widget i'm trying to publish another set of data to the legend widget to display some custom legend information.
But i'm not able to see the published data in the legend widget,when i publish the layer data to Attribute table widget from the same widget(MyCustomWidget).
I can see the published layer data in the Legend widget, if the data publishing code for attribute table widget got removed.
Please help me to see both of the published data legend and Attribute table widget respectively.
Thanks & Regards