We recently came across a strange situation where we could not add sections to an existing OneNote notebook hosted in SharePoint 2013. Using the Web App we noticed that the New Section option under Insert was grayed out.  Also we noticed we could no longer sync the notebook from a local copy of OneNote 2013

Read More
Cannot Sync or add a new section to a OneNote 2013 notebook in SharePoint 2013 Web App

Today I was asked how to retrieve all of the SharePoint Groups of the currently logged-in user to sharepoint. To achieve this, first you need to recover the authority connected to sharepoint with the function GetCurrentUser and then read the “ID” property. Once you have this, you can then use the GetGroupsOfUser (userId) that takes as input

Read More
How to return all of the SharePoint groups for the current user using JSOM

In my previous blogs, I have shown you how to setup Active Directory Domain Services on Windows Server 2012 R2 for SharePoint 2013.  Now we should be able to setup the Administrator and Service accounts in Active Directory. In this blog, I’ll walk you step by step through the installation of Microsoft SQL Server 2012 on

Read More
Step by step Installation of SharePoint 2013 on Windows Server 2012 R2 part 3

A sample JS to clear the taxonomy field value using the JS CSOM. example: var context = SP.ClientContext.get_current(); var list = context.get_web().get_lists().getByTitle(“list title”); var listItem = list.getItemById(58); var field = list.get_fields().getByInternalNameOrTitle(“taxonomyfieldname”); var taxField = context.castTo(field, SP.Taxonomy.TaxonomyField); listItem.parseAndSetFieldValue(“taxonomyfieldname”, “”); listItem.parseAndSetFieldValue(“taxonomyfieldnameTaxHTField”, “”); listItem.update(); context.load(listItem); context.executeQueryAsync(function () {},function(){}); The above code clears the Taxonomy field value using the

Read More
How to cleara Taxonomy field using Javascript CSOM

So , one of the developers called me up and told me that he could not get into his single server development SharePoint farm, he could deploy his solution however.   So I rolled my eyes and said what did you do.. Nothing was the reply! (are you surprised)  . Well it turned out that he

Read More
How to change the password on a SharePoint Managed Account after it has already been changed in AD