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

How do you display the first set of characters of a Publishing Page in a display template? Display templates I like the usage of Display templates but every now and … 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

SharePoint 2013 – Error messages that should really be updated

While I looked through error messages in the SharePoint ULS logs I found the following weird, typos and other unnecessary rubbish messages: ECB XML document WopiApplication_ECB_XmlDocument|external-https|5725923||1033|False|False|True is not found in … read the sharepoint-2013-error-messages-that-should-really-be-updated 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