Monthly Archives: November 2013

Outlook 2010 sync “SharePoint List cannot be found.”

Reference: Ran into a funny problem today and decided to blog about it, since I spent so much time with it. A user came to me today saying he couldn’t get the “Connect to Outlook” sync working with a … Continue reading

Posted in Outlook, SharePoint 2010 | Leave a comment

Control the Content Types in the New menu via code

using System; using Microsoft.SharePoint; namespace Test { class ConsoleApp { static void Main(string[] args) { Console.WriteLine(); SPSite site = new SPSite(“http://siteUrl”); SPWeb web = site.OpenWeb(); SPList list = web.Lists[“Test Library”]; // Get the current order and print it to the … Continue reading

Posted in SharePoint 2010, Visual Studio 2010 | 1 Comment

“Content Types that are available to this Document Set have been added or removed. Click here to update the Document Set.”

Use the following script to update all document sets. This method updates the Document Set item with any changes made to allowed content types. For its content type, it also adds the newly added content types to the list so … Continue reading

Posted in PowerShell, SharePoint 2010 | Leave a comment

Workflow tasks cannot be completed. Workflow stays “In Progress”

Problem: Created a simple SPD workflow (SharePoint 2010) with just two lines: 1) Assign a To-do item “Test” to myself 2) Log a message “job’s done” to history list I then ran the workflow which created a task “Test” for myself; I … Continue reading

Posted in SharePoint 2010, SharePoint Designer 2010 | Leave a comment

Event Receiver: Which events to handle

Posted in SharePoint 2010, Visual Studio 2010 | Leave a comment