11

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

Beytan Kurt
  • 2,203
  • 4
  • 34
  • 57

2 Answers2

14

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)

vvk
  • 833
  • 5
  • 16
0

There is! In the .webpart file, under the Module/File path, add a tag like this:

<Property Name="Group" Value="My Custom Group"/>

That's all there is to it!

Camron B
  • 1,650
  • 2
  • 14
  • 30
  • Completely valid solution and was posted before the accepted one. Upvote! –  Sep 21 '15 at 08:35