Posts

Showing posts from February, 2012

Having Content Types with Document Templates when using "New Document”

Image
If you have document library with more than one content type with a document template in there and you use the “New Document” button to create new documents you might run into some unexpected behavior. In order to explain what happens I created two content types ContentType1, and ContentType2. Both have the Enterprise Keywords field added to it, so they have something to show in the document panel later on, but this doesn’t have anything to do with the unexpected behavior. Both content types also have a document template, the document template for ContentType1 is DocumentTemplate1.dotx and is saved in a Document Templates library in the same site, the document template for ContentType2 is DocumentTemplate2.dotx and is saved in the same library. For adding the document templates I used the “Enter the URL of an existing document template” option. I have a document library called Shared Document where I added both the content types. I can now add documents to the library by using