Thursday, July 15, 2010

Hiding Lists & Libraries from the WebPartAdder in SharePoint 2010

One of our clients had a requirement to hide the Lists & Libraries web parts from the selection of web parts that the use can add to a page.

Looking at the master page, the control which displays the list of web parts available is the WebPartAdder.

This control has a property called ShowListsAndLibraries.Setting this property to false hides the Lists & Libraries category from the list.

ShowListsAndLibraries="false" runat="server" />

No comments:

Post a Comment