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

DIP1

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

But instead see this
DIP3

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…
DIP4

And clicked on the library settings button…
DIP5

I scrolled down to content types and clicked on Document
DIP6

From the settings page I clicked on advanced settings
DIP7

And I clicked edit template
DIP8

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

I clicked on the drop down in the Document Information Panel and selected advanced properties
DIP10
From here I clicked on the custom tag, selected content type and noticed I had the wrong content type ID in this field
DIP11
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.
DIP12

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
DIP13

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

http://bernado-nguyen-hoan.com/2011/05/04/sharepoint-evil-4-document-information-panel-always-defaults-to-first-content-type-in-the-library/

Advertisements

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.

http://social.technet.microsoft.com/Forums/windowsserver/en-US/5a786052-38a1-46f9-add2-e6487bc6a8aa/net-framework-20-and-35-feature-install-fails-on-windows-server-2012-rc

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.

http://social.technet.microsoft.com/Forums/sharepoint/en-US/14620c85-3c43-4c24-8471-fa30c34c85c2/constant-server-restart-pending-whenever-i-try-to-install-sharepoint-server-2010-beta