Tag Archives: SharePoint

Hide Web Template

In PowerShell, if you want to remove a web template from the New Site dialog for a specific web, take a look at the following script: function Remove-SPWebTemplate { [CmdletBinding()] param( [parameter(Position=1,Mandatory=$true)][Microsoft.SharePoint.SPWeb]$web ) process { $templateList = New-Object "System.Collections.ObjectModel.Collection“1[[Microsoft.SharePoint.SPWebTemplate, Microsoft.SharePoint, … Continue reading

Posted in SharePoint | Tagged , | Leave a comment

LDAP Role Provider Argument Exception

If you’re seeing the following error in the ULS logs, hopefully it’ll be as simple a fix for you as it was for me: LdapRoleProvider.GetRolesFor() exception: {0}.System.ArgumentException: The (&(((ObjectClass=group))(member=CN=Some User,CN=Users,DC=domain,DC=local)) search filter is invalid. at System.DirectoryServices.SearchResultCollection.ResultsEnumerator.MoveNext() at Microsoft.Office.Server.Security.LdapRoleProvider.GetRolesFor(String userOrGroupDN, DirectoryEntry … Continue reading

Posted in Configuration, SharePoint | Tagged , , | Leave a comment

External Content Type Walkthrough

Looking to design your own external content type and deploy it as part of a SharePoint solution? Read on for a walkthrough on how to create one. First up, the steps are the same for SharePoint 2010 and 2013 and … Continue reading

Posted in SharePoint | Tagged , | Leave a comment

NullReferenceException using AssetUrlSelector

If you’ve been using the AssetUrlSelector for SharePoint the following may help if you’ve recently started getting the following error in the ULS logs and are not able to view list items. Error while executing web part: System.NullReferenceException: Object reference … Continue reading

Posted in SharePoint | Tagged | Leave a comment

User Profile Sync

Sometimes, when trying to create an alert in SharePoint you receive the following error message: You do not have an e-mail address. Alert has been created successfully but you will not receive notifications until valid e-mail or mobile address has … Continue reading

Posted in Configuration, SharePoint | Tagged , , | 2 Comments