How to create a widget

Nov 1, 2010 at 2:00 PM

Does anyone know how to create your own widget? I'm in need of creating a navigation menu and Azure photo upload widget. This documentation does not seem to be relevant any more (


Nov 1, 2010 at 4:13 PM

The documentation is not yet written. You can take a look at the SetupService where the default widgets are defined. Widgets are simply content types with the widget part and the widget stereotype.

Nov 5, 2010 at 11:01 AM

I found the source code from the Map module in the gallery very useful to build my first widget.

The part that registers a content type as a widget is in the DataMigrations file. The docs on writing a content part were also very useful.