views:

73

answers:

1

Hi,

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

+1  A: 

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

<Property Name=”Group” Value=”Custom” />

Follow the instructions here for details.

Toni Frankola
Thanks, I will check it out on Monday when I get to work.
iHeartDucks
I actually remember adding that tag in the xml file but I think I got the case of the name "Group" wrong... hhmmm
iHeartDucks
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
iHeartDucks