MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

Using PDF document as template for document content type

  Asked By: Carter    Date: Aug 31    Category: MOSS    Views: 8133

I have a PDF document with fill-in fields that I'd like to assign as a
template to a document content type. I'm able to do this and add the
content type to a document library. The problem is, when I go to the
document library and attempt to create new document...I get an error
stating that "The document could not be created. The required
application may not be installed properly, or the template for this
document library cannot be opened.". I've also noticed that the "New"
dropdown menu does not display the PDF icon for that content type.

Is it possible to use a PDF document as a template to a document
library? If so, is there are special considerations when setting this

We are using MOSS 2007.



1 Answer Found

Answer #1    Answered By: Cassie Snyder     Answered On: Aug 31

To use a PDF document  as a template  you need to have an assembly that will
launch the client application from inside SharePoint. If you look at the
DOCICON.XML file in the /TEMPLATE/XML directory of the 12 hive you will notice
that Office file extensions have an additional attribute called OpenControl that
points to a SharePoint DLL that contains code which will invoke a client side
office application from the SharePoint server. This is required for any
document type  that you want to add  to the New button in a document library. The
one built-in to SharePoint only works for Office applications. So you would
need to write your own DLL that would open Acrobat and feed it the template PDF
file. Then reference that DLL in an OpenControl entry in a PDF entry in

You can display  the PDF icon  by creating an entry in the DOCICON.xml file which
points to a PDF.gif that is 16X16 pixels in size, but you can't actually open
the template from the new menu.

Didn't find what you were looking for? Find more on Using PDF document as template for document content type Or get search suggestion and latest updates.

Related Topics:



Related Post