Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change the Category for Web Part to be displayed

In Sharepoint 2010, is there any way to change the category where custom web parts created in VS2010 to be placed.

VS2010 is putting the custom web part in "Custom" category by default. I'm curious that, is there any way for us to change it, for example "MyCustomWebParts" category.

incase I couldn't made myself clear:

here

like image 976
Beytan Kurt Avatar asked Apr 07 '11 12:04

Beytan Kurt


1 Answers

You can change file Elements.xml. Into File tag add line:

<Property Name="Group" Value="MyCustomWebPart" />

or

Select “Site Actions” >> “Site Settings” >> “Modify All Site Settings”. Click the “Web Parts” link in the Galleries group. Open your webpart for edit. In the Group section, check the “Specify your own value” option and type in a group name (e.g. MyCustomWebParts)

like image 122
vvk Avatar answered Oct 30 '22 03:10

vvk