Showing posts from January, 2017

SharePoint PnP JavaScript Core Library v2.0

The SharePoint Patterns and Practices JavaScript Core Library was created to help developers by simplifying common operations within SharePoint and the SharePoint Framework. This is open source, community driven library with contributions cross different organizations and teams. Currently it contains a fluent API for working with the full SharePoint REST API as well as utility and helper functions. This takes the guess work out of creating REST requests, letting developers focus on the what and less on the how. PnP JS Core library can be used in SharePoint Online or in on-premises. It's a great library to be used with SharePoint Framework customizations, but it can be also used using classic development models, like with Script Editor Web Part or when you embed JavaScript to SharePoint using User Custom Actions.

Difference beween wiki page, application page, web part page and publishing page

No longer able to debug typescript after VSCode update

"outFiles": [ "${workspaceRoot}/js/**/*.js" ]

A version mismatch between the globally installed tsc compiler ( and VS Code's language service (1.8.10) has been detected. This might result in inconsistent compile errors.

npm install -g typescript@1.8.10

inheritance in Sharepoint team site to subsite

PnP JavaScript library with Angular JS in SharePoint

SharePoint 2013 REST API - Retrieving Subsites and Getting Forbidden Error, Fixed with CSOM

Limitations of sharepoint sandboxed solutions

SharePoint Infrastructure Assessment Questionnaire for transitioning new customers

service unavailable http error 503 Application pool Stopped for the Web Appliaction

Application pool Stopped for the Web Application

Feature has already been installed. Use the force attribute to explicitly re-install the feature

Go to the Manifest.xml and add the AlwaysForceInstall="TRUE" to it. This will allow you to deploy your solution now.

Free ebook: Planning and Preparing for Microsoft SharePoint Hybrid

SharePoint – Working with ULS Logs

Sharepoint forums


install the Windows Server Roles and features for SharePoint Server 2016 (.PS)

Log in to the Target SharePoint Application Server and Right clicking on Windows PowerShell will allow you run as "administrator".

Then paste the below script there and execute it by pressing Enter. This Script will install the Windows Server Roles and features for SharePoint Server 2016. It might need a restart of the server during the installation. Make Sure You Have Inserted the Windows Server media and provide that path end of this Script for the SXS Folder.

Import-Module ServerManager Add-WindowsFeature Net-Framework-Features,Web-Server,Web-WebServer,Web-Common-Http,Web-Static- Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-App-Dev,Web-Asp-Net,Web-Net-Ext,Web- ISAPI-Ext,Web-ISAPI-Filter,Web-Health,Web-Http-Logging,Web-Log-Libraries,Web-Request-Monitor,Web-Http- Tracing,Web-Security,Web-Basic-Auth,Web-Windows-Auth,Web-Filtering,Web-Digest-Auth,Web-Performance,Web- Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Tools,Web-Mgmt-Console,Web-Mgmt-Compat,Web-…

Setup SSRS on a multi server SharePoint farm

Setup SSRS on a single SharePoint server farm


// root site – eg. Web App urlstring rootSiteCollectionURL =SPContext.Current.Web.Site.WebApplication.Sites[0].Url;// site collection urlstringSiteCollectionURL=SPContext.Current.Web.Site.Url;

How to get all subsite from site collection with Elevated Privileges using SSOM

try { SPSecurity.RunWithElevatedPrivileges(delegate () { using (SPSite site = new SPSite("http://localhost/sites/collectioname/")) { foreach (SPWeb webCol in site.AllWebs) { if (!webCol.ServerRelativeUrl.Equals(string.Empty)) DropDownList1.Items.Add(webCol.ServerRelativeUrl); } } }); } catch (Exception ex) { }

Create App Catalog Site in SharePoint 2013

New Features in SharePoint 2016

SharePoint PnP Webcast – Using modern web stack with SharePoint on-premises deployments

Patterns and Practices PnP (modern web stack with SharePoint)

Retracting solution from Central Admin

Uninstall-SPSolution-Identity mySolution.wsp -allwebapplications Remove-SPSolution-identity mySolution.wsp -forceGet-SPSolution