Distribution list status Creation request pending

Pay attention to the details!

I created a new SharePoint Group, chose Yes for Create an e-mail distribution group for this group?, then gave the group an email address. I clicked save, and went about my business.

What I didn’t notice was this:
Distribution list status:
Creation request pending

Where are these items approved at?
… Central Administration.

SharePoint 2010
Central Administration –> Security
In the Users section, you will want to click on Approve or reject distribution groups.

Here is the URL:
http://centraladmin:777/Lists/Distribution%20Groups/AllItems.aspx
centraladmin:777 = your central admin location.

SharePoint Server Enterprise Site Collection features Error

Tried to activate SharePoint Server Enterprise Site Collection features on a new Site Collection and would recevie the normal SharePoint error (some text and an error ID). I grabbed the error ID and went looking in the ULS logs.

Here is what I found.

Feature Activation: Threw an exception, attempting to roll back. Feature ‘IPFSSiteFeatures’ (ID: ‘c88c4ff1-dbf5-4649-ad9f-c6c426ebcbf5’). Exception: Microsoft.Office.InfoPath.Server.Util.InfoPathLocalizedException: The InfoPath Forms Services support feature is not properly activated. Document library could not be found
at FormServerTemplates
.

I went back to the Site Collection, created a FormServerTemplates form library (document library might have worked), then activated the feature again. And guess what, it worked!

Other tricks that worked for people:
http://social.technet.microsoft.com/Forums/en-US/sharepoint2010setup/thread/df474171-ee3b-4845-8e18-6a7119898bb9

PowerShell Get Value of a Hyperlink Field in SharePoint

I needed to get the hyperlink value from a field in a SharePoint List.

Here is how you do it.

$web = get-spweb http://sharepointed.com/sites/YourSite
$list = $web.Lists["Your List Name"]

foreach($i in $list.items)
	{
		$ofldurl= new-object Microsoft.SharePoint.SPFieldUrlValue($i["MyHyperlinkField"])
		write-host $ofldurl.URL 
                write-host $ofldurl.Description
	}
$web.Dispose()

PowerShell Update Current Navigation in SharePoint

Using PowerShell, you can update SharePoint navigation items.
Example for: Display only the navigation items below the current site

$SiteCollection = Get-SPSite "http://taco/SiteCollection/"

foreach ($subSite in $SiteCollection.AllWebs)
	{
		$updateSite = [Microsoft.SharePoint.Publishing.PublishingWeb]::GetPublishingWeb($subSite)
		$updateSite.Navigation.InheritCurrent = $false
		$updateSite.Navigation.ShowSiblings = $false
		$subSite.Dispose()
	}
	
$SiteCollection.Dispose()

PowerShell to Update Alerts in SharePoint

Was reading Mikes post about Alerts not working in SharePoint 2010 and decided to convert his code to PowerShell.  Read Mikes post before running this script….

$SiteCollection = Get-SPSite "http://YourSharePointSite/"

foreach ($subSite in $SiteCollection.AllWebs)
	{
		foreach($alrt in $subSite.Alerts)
			{
				$origTitle = $alrt.Title
                                $alrt.Title = "UPDATE: $origTitle"
                                $alrt.Update()

                                $alrt.Title = $origTitle
                                $alrt.Update()
				Write-Host $alrt.Title
			}
		$subSite.Dispose()
	}

$SiteCollection.Dispose()

PowerShell Update Top Link Bar or Global Navigation

I needed to update hundreds of sub sites to inherit the same top link bar as the parent site.   Using PowerShell with SharePoint, this only took a minute.

Global Navigation

Display the same navigation items as the parent site (wanted this to be checked)

 
$SiteCollection = Get-SPSite "http://sharepoint/sitecollection/" 
foreach ($subSite in $SiteCollection.AllWebs) 
{ $updateSite = [Microsoft.SharePoint.Publishing.PublishingWeb]::GetPublishingWeb($subSite) $updateSite.Navigation.InheritGlobal = $true $updateSite.Navigation.ShowSiblings = $false $subSite.Update() 
$subSite.Dispose() } 

$SiteCollection.Dispose() 

SharePoint Navigation Button Missing in Site Settings

In the Site Settings page, the Navigation link was missing under Look and Feel.

The link to the page is: _layouts/AreaNavigationSettings.aspx

But, you might want to activate the SharePoint Server Publishing Infrastructure feature. 

 

Site Actions –> Site Settings –> under Site Collection Administration look for Site collection features.

 

The data source control failed to execute the insert command

This one should have slapped me in the face.

Some users couldn’t fire off a workflow, while others could.
The workflow was updating an item and inserting an item in another list.

hmmmm, what could it be?

The insert action of the workflow…. Some users didnt have permissions to the other list.
Updated the permissions, had the users try again, done!