6

I would like to crate a feature which hides some specific webparts within webpart gallery and even the Categories of that webparts to prevent users to add webparts to the pages. is it possible? thanks

1 Answer 1

5

You can set permissions at web part level in the web part gallery. If you want finer control over what's available and even dynamically adding web part to the gallery, please visit an excellent article written by Victor: http://www.wictorwilen.se/Post/Dynamically-populate-the-Web-Part-Gallery-using-the-WebPartAdder-in-SharePoint-2010.aspx

and also: http://blog.mastykarz.nl/controlling-available-web-parts-web-part-adder/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.