How Do I Hide the Settings List Feature on the Site Collection Features Page?
Symptoms
When activating the AgilePoint NX process launcher site collection feature on a SharePoint site, it requires AgilePoint Configuration List feature to be activated. This creates a new AgilePoint Settings List in all the site collections. This is not desired for customers who are using centralized a AgilePoint Configuration List. The empty Settings List needs to be removed manually from all the unneeded site collection avoid errors in the workflow. This also requires the AgilePoint Settings List feature to be hidden, so that it will not be accidentally deactivated thereby clearing out an existing AgilePoint Configuration List.
Cause
The issue is caused by the following factors.
- A dependency between the AgilePoint Process Launcher and AgilePoint Settings List feature.
- The AgilePoint Settings List feature is not hidden.
Resolution
- In a text editor, open the file [SharePoint server extensions folder]\TEMPLATE\FEATURES\AgilePointWFIntegration\feature.xml.
- Remove the <ActivationDependencies> node.
Example:
<Feature Id="{885221BE-56D2-4167-837C-DE2FE00384C8}" Title="$Resources:Feature_Title" Description="$Resources:Feature_Description" ImageUrl="AgilePoint\AgilePoint_Feature_logo.jpg" Version="12.0.0.0" Scope="Site" xmlns="http://schemas.microsoft.com/sharepoint/"> <ActivationDependencies> <ActivationDependency FeatureId="A379136F-8742-4f0c-9D5A-9310A4D2B80C"/> </ActivationDependencies> <ElementManifests> <ElementManifest Location="workflow.xml" /> </ElementManifests> <Properties> <Property Key="GloballyAvailable" Value="true" /> </Properties> </Feature> - In a text editor, open the file [SharePoint server extensions folder]\TEMPLATE\FEATURES\AgilePointSettingsListFeature\feature.xml.
- To hide the AgilePoint Settings List feature from the Site Collection
Features page, insert the following attribute in the <Feature> node:
Hidden = "TRUE"Example:
<?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> - Reset IIS.