zevenseas


 

Updated : FeatureBlocker

Remember I published the FeatureBlocker tool a couple of months ago? If you don’t, here’s a short description in what the tool does:

Using the FeatureBlocker, you can prevent users from activating features within the SharePoint UI. There are three types of ‘prevent’ actions : block the ‘activate/deactivate’ button, hide the entire feature, redirect the user when clicking on the activate/deactivate button.

Check out zevenseas Feature Blocker and Want to prevent users from activating certain features? about the history of the tool..

So, what’s changed? Well.. by a popular demand (@UncleJohnsBand) I’ve added the option to ‘block’ features per feature-scope.. Next to that I’ve also cleaned up the UI from the Settings page, I moved the configuration of the ‘block’ type into a new page and the creation of a list where you can store the ‘requests’ of the features as well. Below is the screenshot of the configuration page:

image

Let me know what you think of it and if you have additional requirements or feedback don’t hesitate to contact me ;)

Where can you find it? At http://www.codeplex.com/zsfeatureblocker !

Links to this post

Comments

On 01 Feb 2010 07:00, barry

Hi Robin:

I had download changeset 38248, but no wsp file in the package. Could you please tell me how to deploy the updated solution to MOSS farm? Mang thanks :)

On 01 Feb 2010 02:59, barry

I use the source to build solution in VS and deploy it on farm, but I got following error when acccee site collection.

"onfiguration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'zevenseas.SharePoint.Solutions.FeatureBlocker, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4306074270f0265a' or one of its dependencies. The system cannot find the file specified.

Source Error:



Line 2: <browser refID="Default">
Line 3: <controlAdapters>
Line 4: <adapter controlType="Microsoft.SharePoint.WebControls.FeatureActivator, Microsoft.SharePoint.ApplicationPages, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
Line 5: adapterType="zevenseas.SharePoint.Solutions.FeatureBlocker.FeatureBlockerAdapter, zevenseas.SharePoint.Solutions.FeatureBlocker, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4306074270f0265a" />
Line 6: </controlAdapters>

Source File: E:\Inetpub\wwwroot\wss\VirtualDirectories\FeatureTest\App_Browsers\zevenseasFeatureBlocker.browser Line: 4

Assembly Load Trace: The following information can be helpful to determine why the assembly 'zevenseas.SharePoint.Solutions.FeatureBlocker, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4306074270f0265a' could not be loaded."

Could you please help me to figure out, Many thanks :)

On 02 Feb 2010 03:22, barry

I directly copy zevenseas.SharePoint.Solutions.FeatureBlocker.dll into bin folder located in web application folder, then I can access the site, but when I try to open page of site feature or site collection features, I got following error:


Request for the permission of type 'Microsoft.SharePoint.Security.SharePointPermission, Microsoft.SharePoint.Security, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' failed.

On 02 Feb 2010 09:13, Robin

Hi Barry,

I've sent you an email with an updated version of the WSP. Apparently I had forgotten that I also copy the .dll from the Features folder to the WebApp folder. So an old version of that .dll was shipped with the version you have downloaded. Hopefully the problem is solved now :)

Name

Url

Email

Comments

CAPTCHA Image Validation



 
 
 

© 2009 Community Kit For SharePoint