Friday, July 22, 2011

Hiding AgilePoint Setting List Feature in MySite

 

AgilePoint Setting List is used to stored all the configuration info for AgilePoint Integration for SharePoint. The access to this list shall be limited to SharePoint Administrators only.

There is a case where some end users accidentally activate this feature at their personal site, i.e. Mysite. This adds additional AgilePointSettingUrl entry in the SharePoint web.config, which messes up the configuration for SharePoint Integration.

Here is how you can hide AgilePoint Setting List Feature in MySite, so that the users do not accidently activate or deactivate it. You can add an extra attribute Hidden="TRUE" in the feature.xml file of AgilePoint Settings List Feature to hide the feature from your end users.

The default location of the feature.xml is:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\FEATURES\AgilePointSettingsListFeature\feature.xml

 

Here is the sample content of the feature.xml. Add the Hidden="TRUE" at the Feature node.

<?xml version="1.0" encoding="utf-8" ?>

<Feature  Id="A379136F-8742-4f0c-9D5A-9310A4D2B80C"

                                  Title="$Resources:Feature_Title"

                                  Description="$Resources:Feature_Description"

                                  ImageUrl="AgilePoint\AgilePoint_Feature_logo.jpg"

                                  Version="12.0.0.0"

                                  Scope="Site"

                                  ReceiverAssembly="Ascentn.SharePoint.SettingsList, Version=1.0.0.0, Culture=neutral,

PublicKeyToken=f1099b605f3ea558"

                                  ReceiverClass="Ascentn.SharePoint.SettingsList.AgilePointSettingsFeatureReceiver"

                                  xmlns="http://schemas.microsoft.com/sharepoint/"

                  Hidden="TRUE">

                <ElementManifests>

                                <ElementManifest Location="ListTemplates\AgilePointSettingsElements.xml" />

                </ElementManifests>

</Feature>

No comments:

Post a Comment