Setting which web parts should show up in 'suggested web parts for zone' - WebPartZone properties

The WebPartZone class has som properties that can be used to controll the appereance of it, what can be done to the web parts that it contains, define which web parts to put in the suggested web part area, etc.

  1. To define which Quick Add Group to use when picking "Suggested Web Parts for 'MyZone'" add this property to your zone in your Page Layout: QuickAdd-GroupNames="MyGroup"
  2. To exclude lists and views from the dialog for adding web parts add this property to your Page Layout zone: QuickAdd-ShowListsAndLibraries="false"

1 comment:

playboater said...

That's cool, but do you know how to specify which group a globally deployed web part (in the server gallery) belongs to?
I know how to change the group for web parts in the site web part gallery (on http://server/_catalogs/wp) but can't find a list of the server gallery...