SharePoint 2013 - Deploying Custom Delegate Controls
-
10-12-2019 - |
Question
I can't figure out how to active custom delegate controls on my SharePoint 2013 site.
- I've created two custom delegate controls: SuiteBarBrandingDelegate and SuiteLinksDelegate
- I then published them to a .wsp
- I copied the .wsp to the server and added the solution to the farm
- I then deployed the solution globally in Central Admin
The feature does show on any of the feature screens: farm features, web application features, or site collection features, site features.
Is Hidden is set to false in the feature properties.
When I deploy the solution it appears to only be applied to Central Admin and not any of the site collections, sites, or pages
Solution 2
I ended up editing the feature properties and then changing the feature to be a farm feature and then deployed via PowerShell.
OTHER TIPS
Since the below powershell did not return any results:
Get-SPFeature –Limit ALL | Where-Object {$_.Scope –eq "WEB" -and $_.Id -eq "FEATUREID"}
The most likely cause is that the feature is not present in the package. To add feature to the package, click on Package and move the feature from Items in Solution to Items in Package towards the right.