Tags » Sharepoint 2010

Sorry Something Went Wrong: SharePoint 2016 Farm Configuration Wizard Failed with timeout during services provisioning

The Error says it all, SharePoint could not provision the farm configurations within the given timeframe and it pops up the timeout. End result is, no services or applications provisioned. 233 more words

SharePoint 2013

Quick Tip: Use PowerShell to Retrieve SharePoint Site Owners

One afternoon my boss send me an email asking for a list of all the site owners on our SharePoint farm. If we only have one farm, one site collection, and a few sites, I could easily log on and find these owners from each of the sites. 258 more words


SharePoint Migrations-SharePoint 2010/13 to 2016

SharePoint Migrations-SharePoint 2010/13 to 2016


1. SP 2013 to SP 2016

2. SP 2010 to SP 2013 to SP 2016

3. SP 2010/2013/2016 to SP Online… 11 more words

Sharepoint 2010

Associate workflow programmatically

SPWorkflowTemplate baseTemplateWF = web.WorkflowTemplates["261d83b2-01f5-4dec-9a68-fbd85f5aaf24"];
//In Workflow-> Element.xml -> <Workflow  -> Id
SPWorkflowAssociation assocList =SPWorkflowAssociation.CreateListAssociation(baseTemplateWF, "instance name", taskList, historyList);
//taskList: list ok task
//historyList: workflow list history 
assocList.AutoStartCreate = true; // Auto start when new item added
SharePoint 2013

Prevent deleting workflow task

When we create a workflow, we use workflow task (0x010801) to communicate with the users (make decision, collect data, set variables…).  The instance of the workflow waits this task until passing to complete.  272 more words

SharePoint 2013

Create custom action to list instance

SPPList list;//custom list 
 SPUserCustomAction action = list.UserCustomActions.Add();
 action.Title = titleAction;
 action.Sequence = 20;
 action.Location = "CommandUI.Ribbon";
 <CommandUIDefinition Location="Ribbon.Documents.New.Controls._children">
 <Button Id="CustomAction.TestButton"
 LabelText="Button de test"
 Command="TestCommmand" EnabledScript="javascript:return true;"
 CommandAction="javascript:alert(‘Button test’)"/>
SharePoint 2013

Add ribbon programmatically

I present in this article how you can add a SharePoint ribbon programmatically: Web Part, User Control or an application page. To have finally the end result of FIG 1. 797 more words

SharePoint 2010