How do you create/add a custom widget?

Jun 23, 2009 at 2:56 PM

I'd like to use droipthings as an internal company homepage but I need to create a couple of custom widgets, but I can't find any info on how to do this.Are there any tutorials about?

Is it possible to do this without editing the source (e.g. bin deployable and imported via web.config)?



Jun 25, 2009 at 6:08 AM

Unfortuneatly you will need the source code to create a widget.

To create a new widget, you will need to create a new user control in the Widgets directory.  Follow some of the simple widgets as a guideline.

Once your widget is created, you will have to manually add the widget into the Widget table in the database.

Finally, you will have to edit the WidgetInRoles table to include the the Widget ID and all the role guids you want your widget to be accessed by.

It is much easier than it sounds.

Good Luck,