SharePoint 2013 – Remove, Add and Update List View Web Parts on publishing pages programmatically

Changing Default Views Sergei Sergeev’s post about changing default views helped a bit here However I found that when doing the same on publishing pages things become slightly trickier. I … Read More

SharePoint 2013 – The specified view is invalid in call to LimitedWebPartManager.AddWebPart

Adding a webpart Today I tried to add a web part to a page using the following code: ListViewWebPart webpart = new ListViewWebPart(); webpart.Title = “Matter Emails”; webpart.ListName = item.ListItems.List.ID.ToString(“B”).ToUpper(); … Read More

SharePoint 2013 – Update Features

Update Features Today I needed to add some additional fields to content types. I heard about upgrade features before, but I never tried using this. It was quite simple. First … Read More

SharePoint 2013 – An unhandled exception occurred during the execution of the workflow instance

An unhandled exception I had a problem with a SharePoint Designer Workflow I was creating a task and assigned it to a SharePoint group. Then I got the error: Details: … Read More

SharePoint 2013 – Deploying a publishing page in Sandbox vs Farm Solution

Deploying a publishing page Today I deployed a publishing page through a Sandbox solution I created an Elements File in the Module that looked like this: <Module Name=”Pages” > <File … Read More

SharePoint 2013 – Visual Studio – Remote SharePoint site connections are not supported.

My Problem Today when I tried to deploy my sandbox solution I suddenly got the following error: Remote SharePoint site connections are not supported. The site I tried to connect … Read More

%d bloggers like this: