Setting up Office 365 on a WordPress hosted domain name

Many people use for their public facing website.  If WordPress manages your domain (i.e. your name server is pointing to WordPress, then you will need to set up Office 365 DNS entries on WordPress.  When setting up Office 365, you have to add appropriate DNS entries for CNAME, SRV, TXT, and MX records. The typical instructions per Microsoft look like the following:

(These are for the domain, change accordingly)

To add these entries in WordPress, go to your Dashboard, Store, Domains, Edit Domain.  The problem is, if you paste these straight into WordPress, it will not work. WordPress uses a shortened version for CNAME.

For the SIP and LyncDiscover CNAMES, take out the “” and it will work. If you don’t do this, you will get a “Cannot connect to server” error on Lync on your iPhone.

Below are the correct format DNS entries for WordPress hosted domains to work with Office 365 [...]

  • Permalink Gallery

    Fun with custom SharePoint Ribbon buttons using the built-in image formatmap32x32.png

Fun with custom SharePoint Ribbon buttons using the built-in image formatmap32x32.png


While creating a new ribbon button, you will have to pick the button image.


This handy image is located here: http://yousite/_layouts/en/images/formatmap32x32.png

Now you will need to reference the top left corner of the image:

Open it in MS Paint and hover the top left corner of the image to get the approximate values. Each image is 32×32 pixels, so you can just start multiplying by 32 to go across and same to go down to get the exact values.

So, for example, go 448 px down and 384 px from the left

This image for the check mark

is located at Image32by32Top=”-448″
Image32by32Left=”-384″ (down at the bottom right corner)



For the formatmap16x16.png image just divide by 2.


Here is a portion of the Elements.xml that references the button image location:



LabelText=”Approve Records to Delete”

ToolTipTitle=”Approve Records to Delete”

ToolTipDescription=”Check all records to delete then press this button after all records have been selected on this page.”





By |September 14th, 2013|Sharepoint on Premise|1 Comment|

Understanding Office 365 terms

Here’s a good reference of what the actual deliverables are for Office 365. The terms can get confusing, especially when trying to understand the Office 365 Pro Plus and the desktop suite.

•Office 365 Platform includes information about the Office 365 hosted solution platform that is common across the other services. The Office 365 Platform service description is where you’ll find details about Office 365 user management, support, service updates, privacy and security policies, and other operational details that apply across the individual services and are part of the core Office 365 service.

•Exchange Online is a hosted messaging service offered in some Office 365 plans that web-based email, calendar, contacts, and tasks from PCs, the web, and mobile devices. In the Exchange Online service description, you can easily see which Exchange features are available across Office 365 plans. In addition, you can compare Exchange Online feature availability to an Exchange [...]

Migrate a SharePoint workflow from Visual Studio 2008 to Visual Studio 2010

This is a useful article when converting a custom workflow project from Visual Studio 2008 to Visual Studio 2010:

In a nutshell,

Go ahead with the conversion wizard
Add a new Project (2010 Sequential Workflow Project) to the solution
Rename the Workflow1  folder to the new name – Very Important, you have to keep this folder in order for the workflow to be in the feature, so just rename it.
Copy the old workflow.cs file to the new folder in the new project. This will bring over the designer file and rules file (if applicable).
Delete the worflow1.cs
Copy over all other files that are not related to packaging such as Utility classes.
Copy default namespaces to new project. Check your default namespaces, namespaces in Elements.xml, assembly versions
Update namespace in new project on the .cs file, and .designer.cs file.
Compile, if does not compile, may have to remove Office reference in [...]

Debugging Custom Event Receivers – Strange Error on custom Event Receiver SharePoint 2010. .c__DisplayClass2.b__0()Object reference not set to an instance of an object.

Debugging Custom Event Receivers.

Here’s a weird error that took some time to figure out. Generic “Object reference not set to an instance of an object.” Error on a custom SharePoint 2010 event receiver. If I went through the UI to change a field on a list, the event receiver fires fine. But, if a workflow changed the field it threw the error below. I finally found if I attached the OWSTimer process to Visual Studio, it would debug, but still not show the exact problem. The solution is to find the Log On account for OWSTimer in the Services console (services.msc) and then to grant that account permissions on the list that the event receiver is running on.

Edit -checking the permissions of the OWSTimer account is just one possible solution.  What I found out was that the list was hanging on to old event receivers as well.  I had [...]

Missing All People Links in SharePoint 2010

We used this to delete users from the site collection in SharePoint 2007. It was gone in 2010, but really just “hidden.”

Simply paste the following URL into your browser and change the site name and you wll get the All People page back.  Useful for deleting users from the site collection.


Hide Left Navigation in SharePoint 2010

Here’s a quick reusable way to hide the left navigation.

 Create a text file called “HideLeftNav.txt” in a document library.

 Add the following css code:
<style type=”text/css”>
/*–Hide Quick Launch –*/

 Edit the page you want to hide the nav on, add a content editor webpart. Then, simply reference the url to the HideLeftNav.txt file and you are done.


Creating a WCF service on a SharePoint 2010 server in Visual Studio 2010 and “Type can not be found” error

If you get the “Type cannot be found” error after installing your WCF service, go to the section about unloading your project below.

Here are the main steps to creating a WCF service and installing it on a SharePoint 2010 server:

Open Visual Studio 2010
Create an Empty SharePoint 2010 project to get the packaging files
Change your namespace in the Project Properties.
Add a new Item, WCF Service with a new file name
Add the following lines above the class declaration that implements the “IService” file:


[AspNetCompatibilityRequirementsAttribute(RequirementsMode = AspNetCompatibilityRequirementsMode.Required)]

PricingRequestService : IPricingRequestService


Add the following references to your project:

C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14ISAPIMicrosoft.SharePoint.dll

Add a mapped folder to the “_Layouts” folder
Inside the _Layouts folder create a text file with a .svc extension such as PricingRequestService.svc

Add the following sample: <%@ServiceHost
Language=”C#” Debug=”true”

Service=”PricingRequest.PricingRequestService, $SharePoint.Project.AssemblyFullName$”

Factory=”Microsoft.SharePoint.Client.Services.MultipleBaseAddressBasicHttpBindingServiceHostFactory, Microsoft.SharePoint.Client.ServerRuntime, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c”

Change the namespace and service name to your own. Leave [...]

By |January 10th, 2013|Uncategorized|0 Comments|

How to turn off “Cannot be blank” yellow boxes on SharePoint 2010 Infopath custom list forms

 Find and make a backup copy of the Core.JS file(14templatelayoutsinc)
Edit the Core.JS file(14templatelayoutsinc)
Find the function called ErrorVisualization_ShowShortMessage
Add “return;” as the first command in the function.ErrorVisualization_ShowShortMessage(b,a,g){return;ULSrLq:;var h=g[2],d=””,e=null;if(!

 Reset IIS

Metro Tiles in SharePoint 2010 and SharePoint 2013

Here’s a kind of fun web part I found on Codeplex. You can jump on the tiles bandwagon in SharePoint 2010. It’s packaged nicely in 2 wsp files and creates a list to hold the data. Built in images are very nice.
It’s called the Metro Grid webpart and they have done a nice job on the packaging and icons.