Hi
I'm trying to publish a layer to attribute table widget by using the mentioned code snippet.
Send a layer to the Attribute Table widget—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers
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.