2

I am constantly writing custom WebParts but after I deploy them, they always get added to the "Miscellaneous" category. How do I add a WebPart to a specific category?

The category that I am referring to here is the one we see in the "Add Web Parts..." pop up, which is activated when the "Add a Web Part" is clicked on a zone.

Thanks

iJK
  • 4,655
  • 12
  • 63
  • 95

1 Answers1

3

You need to update your web part manifest file and add the following:

<property Name="Group" Value="Custom" />

Follow the instructions here for details.

Naveen
  • 6,786
  • 10
  • 37
  • 85
Toni Frankola
  • 1,652
  • 15
  • 26
  • I actually remember adding that tag in the xml file but I think I got the case of the name "Group" wrong... hhmmm – iJK Dec 05 '09 at 18:54
  • The reason it did not work earlier is because I added the tag in the wrong file (*.webpart). I added it to *.xml file and it is now working. Thanks – iJK Dec 07 '09 at 15:15