SharePoint 2013 Word Document Information Panel Issue

I was working on a SharePoint 2013 document library for a client, and had an interesting issue come out of user acceptance testing. The library has several custom content types in addition to a customized document content type. The document content type is the default, but when a user is in the library and they try to create a new document the document information panel displays properties for a different content type.

So the user click Document from the list below


They are expecting to see something like this in the Document Information Panel

But instead see this

I did a bunch of digging starting with the document information panel settings in the content types in this library, but no combination of settings resulted in the expected behavior. Then, because of a blog post I found, I started looking at the document template in that library and I stumbled across the answer.

I clicked the library tab in the ribbon…

And clicked on the library settings button…

I scrolled down to content types and clicked on Document

From the settings page I clicked on advanced settings

And I clicked edit template

When Word came up I got the following error and clicked the edit properties button

I clicked on the drop down in the Document Information Panel and selected advanced properties
From here I clicked on the custom tag, selected content type and noticed I had the wrong content type ID in this field
I sorted that out by going to a different library that didn’t have this issue and comparing the IDs, to do that you would just follow these same steps and the copy the ID to a notepad for comparison.

Next I saved the template from the library that does not have the issue. Note this is a .dotx file. If this was all I needed and my document content type in this library hadn’t been slightly customized I’d just go to the library and upload the new template over the old document template, but since mine is customized I have a couple more steps.

I have to go to library settings, scroll down to the content types and click on document. Next I have to hover over the Document Information Panel settings links, right click, select copy short cut and paste that to my note pad.

From here I copy the content type ID and paste it into my custom properties content type id field above and save the document again. Now I’m going to upload the template to the problem library.

To do this I go back to the content type page and click on advanced settings

I clicked the upload new document template radio button, browse to my new template, select it, upload it, click OK and test to make sure I am now getting the expected behavior.

This blog post pointed me in the right direction to start looking at the template. In my case the fix is a bit different because my issue is a bit different, but had I not found this post I’d still be scratching my head


SharePoint 2013/Server 2012 Install Issues

Today I installed SharePoint 2013 on a Server 2012 server and ran into a couple errors. The first was that the IIS configuration failed. This ended up being because .NET 3.5 was not able to be installed. This is an error that spans Server 2012 and Windows 8. The solution is to mount the install media and type the following in a cmd window

dism.exe /online /enable-feature /featurename:NetFX3 /Source:D:\sources\sxs /LimitAcces

Note: your source drive letter will depend on what drive the media is in or mounted too.

The next issue I ran into was that when I clicked on set up, after installing the prereqs I was told that the server needed to restart. The solution to that is…

1. Open Regedit. Click File Export (you ALWAYS want to backup your registry this way prior to making changes)

2. Find the key “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager”.

3. Rename the “PendingFileRenameOperations” value to “PendingFileRenameOperations2”.

Once I renamed it, the install could continue.