Reset forgotten password on a virtual image

Resetting Administrator Password in Windows 2012 Yup, fine time to have a problem at the start of the new year! Other related: Boot from a DVD https://technet.microsoft.com/en-us/library/hh825052.aspx Download https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2

SharePoint 2013 ClientPeoplePicker test script

I am working in an environment where I am not able to deploy SharePoint-hosted add-ins. I wanted to test the ClientPeoplePicker in my environment with a simple Content Editor Web Part to get the user email. I tweaked the script at the following Microsoft article by setting the schema setting AllowMultipleValues to accept one selected […]

REST call to get user email

To use the following function to retrieve the user email from the SharePoint User Profile service, you would need to pass in the account name of the user. GetUserEmail = (function () {     "use strict";     var _webUrl = "http://myurl.com";     var load = function (selectedValue) {         $.ajax({             cache: false,            url: _webUrl + "/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor(accountName=@v)?@v='" + encodeURIComponent(selectedValue) […]

Event receiver for copying an event

In SharePoint 2013, we discovered a problem with copying events that have recurring properties or the All Day setting selected. Users could not copy the event to another site in a SharePoint workflow, even when using the activity to create a new item and then copy each column. A sandboxed event receiver overcame this problem. […]