SharePoint 2013 – Display the first 100 characters of a Publishing Page Content field using Display Templates

I like the usage of Display templates but every now and then there are problems that should be easy to solve that are not. Well, the problem in this article is … read the sharepoint-2013-display-first-100-characters-of-publishing-page-content-field-using-display-templates post

Uninstall-SPUserSolution : Feature ‘7436371b-c242-440d-b7c3-d2bff6661c77’ is not activated at this scope

Uninstall Solution I’m trying to uninstall a sandbox solution in SharePoint 2013 using PowerShell. I’m using the following cmdlet Uninstall-SPUserSolution Uninstall-SPUserSolution -Confirm:$false -Site $siteUrl -Identity $solutionname And I’m getting the … read the sharepoint-2013-uninstall-spusersolution-feature-7436371b-c242-440d-b7c3-d2bff6661c77-is-not-activated-at-this-scope post

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 the sharepoint-2013-remove-add-and-update-list-view-web-parts-on-publishing-pages-programmatically post

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 the sharepoint-2013-the-specified-view-is-invalid-in-call-to-limitedwebpartmanager-addwebpart post

Custom list templates do not appear on the “Create List” page of a SharePoint site

Today I tried to copy lists including their data from my customer’s environment to my development environment. I needed to include the data so what is easier than using the … read the sharepoint-2010-custom-list-templates-do-not-appear-on-the-create-list-page-of-a-sharepoint-site post