Friday, April 19, 2013

Not able to set Alerts for some views in SharePoint list

If you notice, the user was not able to select some views while setting the alerts. The dropdown shows only few views from the list views. Where the other views gone??

Digging more into it, I found out that, in the views that were not appearing in the alert dropdown, there was filtering done based on the workflow columns.

Conclusion : “Alerts will not work for the views if there is a filtering based on System Generated / Calculated columns“

Thursday, March 28, 2013

Automatically create Word documents which include list fields

http://blogs.technet.com/b/brenclarke/archive/2009/04/15/automatically-create-word-documents-which-include-list-fields.aspx


Friday, March 22, 2013

Filter item based on workflow status


numeric value for the workflow status
Not Started = 0
Failed on Start = 1
In Progress = 2
Error Occurred = 3
Canceled = 4 or 15
Completed = 5
Failed on Start(retrying) =6
Error Occurred (Retrying) = 7
Approved = 16

Tuesday, July 10, 2012

Limit the People Picker in SharePoint 2010 to a Specific OU or Domain


STSADM: stsadm -o setsiteuseraccountdirectorypath -path "OU=Sales,DC=ContosoCorp,DC=local" –url http://ServerName

Powershell:
Set-SPSite -Identity http://portal.contoso.com/sites/US -UserAccountDirectoryPath "OU=US,OU=SharePoint,DC=Contoso,DC=com"

Thursday, May 17, 2012

User Profile Service got stuck on Starting

I have installed the Dec 2011 CU and User Profile Service was stopped working (Known issue) after the upgrade, I have followed the below steps to enable the User profile service back


  1. Restarted the timer service
  2. added the farm admin account to local administrators on windows server
  3. started the User profile Synchronization service from the Central Admin
  4. Once it started then deleted the farm admin account from the local administrators group on windows server
  5. IISRESET
The above steps fixed the problem for me.

PostSetupConfigurationTaskException - Failed to upgrade SharePoint Products

I just applied a SharePoint 2010 Dec 2011 CU . Running the Products Configuration Wizard (psconfig) ended with the following error:


Task upgrade has failed with a PostSetupConfigurationTaskException An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown.  Additional exception information: Failed to upgrade SharePoint Products.


Solution: Run the Configuration Wizard as administrator again and it worked.

Tuesday, May 15, 2012

SharePoint WarmUp Solution

SharePoint.WarmUp (by Sogeti) is a SharePoint 2010 feature deploying a job in charge to keep all SharePoint sites (and additional URL if needed) awake.

http://sharepointwarmup.codeplex.com/