Showing posts from 2017

spsave and sp-request

How do I URl encode something in Node.js?

Upgrade from SharePoint 2010 to SharePoint 2016

Upgrade from SharePoint 2010 to SharePoint 2016


Trick the Sharepoint Query String (URL)


PnP-JS-Core: Get all available properties of user from SharePoint


Get Default Master Page URL of a SharePoint Site using REST API

Overview of the SharePoint 2013 page model

Overview of Design Manager in SharePoint 2013

Blob Cache in SharePoint

SharePoint Branding / Customization Survey

A number of months ago I posted about a survey where I asked the community to rank common branding & UI customizations by how important they are to you and your customers. My free SurveyMonkey usage only allows me to see the first 100 of the 150 submissions but I have included a chart of the results below. Clearly jQuery is a biggie, but also not surprisingly a solution for changing color and layouts beyond themes / composed looks is a solid second place. It’s interesting to see a good cross section of the community and what ideas have floated to the top.
Read more

Developer Guide PnP-JS-Core

sp-pnp-js Basic Operations

SharePoint Integration with IIS

Before discussing the Integration, we will discuss the architecture of SharePoint at the architecture level. The diagram represents the architecture of SharePoint and split into two halves. The Left-half is administrator world and the right-half is the end-user world. Everything in right half resides in SharePoint content database. Let's continue with some terminologies before goes into deep dive. 

FarmA farm is a logical architecture or logical grouping of SharePoint servers that share common resources of SharePoint. It can be a single machine or more than one machine. The farm is differentiated on their tier levels. Might be possible Farm can be 1to N-tier. Installation can either be done at 1 machine to N. Most of the cases in production you have to choose at least 5-tier architecture for application Server, front-end Server, SQL, AD+DNS, Office Web App Server and Exchange; you can add more than one application server, Front-End etc at any level.

Configuration DatabaseEach farm i…

Deploying Exchange 2013

Error:Installing product D:\exchangeserver.msi failed. Fatal error during installation. Error code is 1603.

Error 1603 is a known Microsoft/environmental issue. This error message is displayed by the Microsoft Windows Installer Engine and is a general error code that indicates a problem occurred during the installation. The following is a non-exhaustive list of known causes for this error. Short file name creation is disabled on the affected machine.An Install Script custom action is prototyped incorrectly.A file is locked and cannot be overwritten.The Microsoft Windows Installer Service is not installed correctly.The Windows Temp folders are full.The setup was corrupted after installation and therefore fails with this error during un-installation.An older version of Install Shield Developer is being used.A general error occurred during the installation.Print and File sharing is not installed or enabled when installing MSDE 2000.For more information please visit - ResolutionTo resolve this issue, complete the following steps. Ensure short file name c…

Windows Installer service Grayed Out in Services MMC

IIS6 Virtual SMTP server isn't coming back up automatically after a system restart

Active Directory User for Email Account User Profile Service

SharePoint User Profile Synchronization Service not starting

Mine was a known bug with SP2013 SP1 and SQL server 2014.You need to install any of the CU after April 2014 to fix this issue

After installing latest CU,I was able to start the user profile synchronization service without any issue

Allow log on locally – add new user greyed out. Fix via Domain Controller Policy Settings

configuring the Loopback check

How To Enable Remote Desktop or RDP in VMware

Typescript errors on @types\lodash\index.d.ts #417

PnP PowerShell overview

SharePoint Designer Call HTTP Web Service to create item in other Site (Collection)

Attach ECB menu on another column instead of Title column in SharePoint list using Sharepoint Designer

Go to SharePoint designer and open the site ->Your List->Your View

Find all FieldRef in <ViewFields> tag. Then add below attributes to desire FieldRef like this code

<FieldRef Name="DateColumn" ListItemMenu="TRUE" linkToItem="TRUE"/>'

If you want to remove existing ECB menu then remove the following code and save it.

<FieldRef Name="LinkTitle"/> 

Things you should know about Sharepoint 2016 Search

The search architecture of Sharepoint 2016 contains search components and databases that work cohesively to perform the search operation..The size and structure of the search architecture depends on the volume of your content, availability, estimated amount of page views, fault tolerance and queries per second etc. Architecture can vary depending on the composition of the data that is crawled. The search architecture can be for the enterprise or for Internet sites.
Sharepoint Search componentsIn SharePoint Server 2016, search components are not hosted on Web servers. All components reside on application servers and all databases reside on database servers except query processing component and index components. The query processing component and index components reside on the Web servers to make maximum use of the available hardware resources and to simplify scaling out the search topology. We'll talk about these. There are several component that involved in search and some of these…

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