Skip to:
The widget docs at http://docs.cask.co/cdap/4.1.0-SNAPSHOT/en/developers-manual/pipelines/developing-plugins/packaging-plugins.html have a lot of content, but perhaps organization can be improved.
1. The table that explains each widget should have an example column, that shows the JSON snippet for each widget type2. The table doc should clearly call out that the JSON snippet has to go under the widget-attributes section in the JSON
widget-attributes
PR https://github.com/caskdata/cdap/pull/8063
The widget docs at http://docs.cask.co/cdap/4.1.0-SNAPSHOT/en/developers-manual/pipelines/developing-plugins/packaging-plugins.html have a lot of content, but perhaps organization can be improved.
1. The table that explains each widget should have an example column, that shows the JSON snippet for each widget type
2. The table doc should clearly call out that the JSON snippet has to go under the
widget-attributes
section in the JSON