Use a pdf as a document template, New Document icon and action

I am looking to use an editable pdf as a new document template for a content type.  I uploaded the pdf successfully, but when I select the new document from the template options, it attempts to open the pdf, and then provides the error message:
Message from webpage
The document could not be created. 
The required application may not be installed properly, or the template for this document library cannot be opened.
Please try the following:
1. Check the General Settings for this document library for the name of the template, and install the application necessary for opening the template. If the application was set to install on first use, run the application and then try creating a new document
again.
2.  If you have permission to modify this document library, go to General Settings for the library and configure a new template.
OK   
I have already setup the docicon.xml with the following entry for pdf's:
<Mapping Key="pdf" Value="pdficon_small.gif"/>
PDF's are behaving appropriately throughout the environment, but I am unable to get the 'New Document' from a pdf template functioning.  Does this capability exist?
Thanks!
Jesse
Jesse A. Brandenburg

For Content Types, it only recognizes Office document types. In order to add PDFs, you would need to build a custom solution or purchase a 3rd party product (such as http://www.pdfshareforms.com/pdf-share-forms-enterprise/).
See also:
http://sharepoint20.blogspot.com/2012/08/how-to-use-pdf-as-sharepoint-content.html
http://social.technet.microsoft.com/Forums/en-US/985bf92c-a718-4a90-ae95-b22600a75227/pdf-form-as-content-type-for-sharepoint-document-library?forum=sharepointgenerallegacy
Trevor Seward
Follow or contact me at...
&nbsp&nbsp
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Similar Messages

  • Using a PDF as a Document Template in SharePoint 2010: "New Document" icon and action

    Hi,
    I have to create a document template in SharePoint 2010 using a PDF. After much searching I have learned to install Reader on the SharePoint server to bring in AcroPDF.dll
    and set the OpenControl for PDFs in DOCICON.xml to be "AdobeAcrobat.OpenDocuments".
    After taking these steps I can check PDFs in and out of SharePoint, and edit PDFs as I would edit an MS Office document.
    However two problems remain with creating new documents based upon a PDF document template.
    1) The PDF icon does not appear in the New Document dropdown. This makes sense since I never referenced a 32x32 icon in the SharePoint config files. Where would I place the icon image file and which configuration file would I edit to use that image file, and how?
    The last three document templates are PDFs.
    The second problem I face is that when I click one of the document templates above that is a PDF, nothing happens. I have tried this with Acrobat installed on both the client and the server. It would be preferable to insert a copy of the PDF document used as a template without having to use Acrobat at all.
    Is there any resolution to either of these problems?

    According to what i found the image needs to be 16x16.
    See if this works.
    Edit the DOCICON.XML file to include the PDF icon
    In Windows Explorer, navigate to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML
    Edit the DOCICON.XML file (I open it in NotePad, you can also use the built-in XML Editor)
    Ignore the section <ByProgID> and scroll down to the <ByExtension> section of the file
    Within the <ByExtension> section, insert a <Mapping Key=”pdf” Value=”pdficon_small.gif” /> attribute. The easiest way is to copy an existing one – I usually just copy the line that starts <Mapping Key=”png”… and replace the parameters for Key and Value (see image below for example).
    Note: Do not take shortcuts and copy/paste from here. 99% of problems with PDF icons not being displayed are due to errors made in the DOCICON.XML file
    Save and close the file
    Source:
    http://www.sharepointsharon.com/2010/03/sharepoint-2010-and-adobe-pdf/

  • I used iCloud before I updated to the new iOS 6 and now I only have 44 pictures how can I get them all back?

    I used iCloud before I updated to the new iOS 6 and now I only have 44 pictures how can I get them all back?

    Photo stream only keeps your photos for 30 days.  After that, they are removed from your photo stream but not from any device that has already received them.  Chances are, the 44 photos are from the last 30 days; the others are not there because they are no longer in your photo stream.
    If the photos were in your camera roll when you last backed up, restoring to the backup should recover them.  However, you will have to restore to the entire backup to do so.  If they weren't backed up or imported to your computer, there is no way to recover them now.
    To be sure your photos are saved, regularly import them from the camera roll to your computer as outlined here: http://support.apple.com/kb/HT4083.

  • Cannot return to message list while in a message without clicking on "compose new message icon" and then cancelling it.

    After updating to 8.1 from 8 i cannot return to my message list from inside a message without clicking on the "compose new message" icon and then canceling out of that.
    Also, where it used to say return, it now says "Edit" and the word "Message" on the top of the screens is scruched together.
    Here is a link to a screenshot of my phone from the main messages listing.
    And here is a link to a screen shot of my phone from within a message.

    Hi Sir,
    Code snippet for reference:
    Private Sub Application_ItemSend(ByVal Item As Object, ByRef Cancel As Boolean)Handles OutlookApplication.ItemSend
    Try
       Dim SentMailItemObject As Outlook.MailItem
    SentMailItemObject = CType(Item,
    Outlook.MailItem)
    ‘Can
    we add here User property in Mail Object Reference?
     Catch ex As Exception
    MsgBox(ex.Message, MsgBoxStyle.Information)
     End Try
    End
    Sub

  • How do i set up my email so i would need to use password to sign in, instead of clicking on icon and open it directly?

    How do i set up my email so i would need to use password to sign in, instead of clicking on icon and open it directly?

    You can't with the built-in Mail app. There may be third-party email apps in the App Store that have a password option, or you could access your account via Safari - go to your host's login page and then create a homescreen shortcut for it via the 'share' icon (the square with the upward pointing arrow), tapping on that homescreen shortcut will open Safari on your login page.

  • Have used firefox for 3 years, have a new computer now and every time I go into my normal places I get a warning about encrypted page and third party viewing, please help!

    I have used Mozilla Firefox for 3 years with no issues. I have now purchased a new laptop (Samsung) and cannot access my regular sites (like Windows Live or my banking, most everything) without getting a Yellow waring arrow stating that I am going into an encrypted page and third parties are able to see what I am doing. I am very concerned if others are having access. My bank says it has nothing to do with them...it is an https secure site. I still have major concerns, please help!

    For what it's worth, you posted this in 2011, and here in 2014 I am still having this same issue. Over the last two days, I have had to unlock my apple account 8 times. I didn't get any new devices. I haven't initiated a password reset. I didn't forget my password. I set up two factor authentication and have been able to do the unlocking with the key and using a code sent to one of my devices. 
    That all works.
    It's this having to unlock my account every time I go to use any of my devices. And I have many: iMac, iPad, iPad2, iPad mini, iPhone 5s, iPod touch (daughter), and my old iPhone 4 being used as an ipod touch now.  They are all synced, and all was working just fine.
    I have initiated an incident with Apple (again) but I know they are just going to suggest I change my Apple ID. It's a simple one, and one that I am sure others think is theirs. I don't want to change it. I shouldn't have to. Apple should be able to tell me who is trying to use it, or at least from where.
    Thanks for listening,
    Melissa

  • Creating a new window from and action event

    Hey I have a problem i would like most of my menu items to create a new window containing a set text and i was thinking of creating a new container with a JTextArea but for some reason its not working. if someone could help me that be great... so my question is how do create another window (TextArea) with my tokenized array info in it open up when Print File or Print Total is the event??
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.*;
    import java.io.*;
    import java.util.StringTokenizer;
    import javax.swing.plaf.*;
    class PhoneProject extends JFrame implements ActionListener
         private static final int WIDTH = 260;
         private static final int HEIGHT = 160;
         private static final int X_ORIGIN = 402;
         private static final int Y_ORIGIN = 299;
         ArrayList internalCalls = new ArrayList();
         ArrayList externalCalls = new ArrayList();
         PhoneCall internal;
         PhoneCall external;
         JMenu query = new JMenu("Query");
         JMenu proccess = new JMenu("Proccess");
         String inRecord;
         int numExtension;
         int numCallType;
         int numSeconds;
         int totalIntTime;
         int totalExtTime;
    public static void main(String args[])
              PhoneProject frame = new PhoneProject();
              frame.setVisible(true);
    public  void LoadArray(File myFile) throws IOException
              FileReader fr = new FileReader(myFile);
              BufferedReader br = new BufferedReader(fr);
              while ((inRecord = br.readLine()) != null)
                   StringTokenizer tokenizer = new StringTokenizer(inRecord);
                   String extension = tokenizer.nextToken();
                   String callType = tokenizer.nextToken();
                   String seconds = tokenizer.nextToken();
                   numExtension = Integer.parseInt(extension);
                   numCallType = Integer.parseInt(callType);
                   numSeconds = Integer.parseInt(seconds);
                   if (numCallType == 0)
                        internal= new PhoneCall(numExtension, numCallType, numSeconds);
                        totalIntTime = (totalIntTime + numSeconds);
                        //System.out.println(totalIntTime + "int");
                        internalCalls.add(internal);
                   if (numCallType == 1)
                        external = new PhoneCall(numExtension, numCallType, numSeconds);
                        totalExtTime = (totalExtTime + numSeconds);
                        //System.out.println(totalExtTime + "EXT");
                        externalCalls.add(external);
                   System.out.println(internal.getSeconds());     
         public PhoneProject()
              Container contentPane;
              setBounds(X_ORIGIN, Y_ORIGIN, WIDTH, HEIGHT);
              setTitle("Phone Analyzer");
              setResizable(true);
              contentPane = getContentPane();
            contentPane.setLayout(new BorderLayout());
              JMenu file = new JMenu("File");
              JMenuItem  item;
              item = new JMenuItem("Open");
              item.addActionListener(this);
              file.add(item);
              item = new JMenuItem("Exit");
              item.addActionListener(this);
              file.add(item);
              proccess.setEnabled(false);
              item = new JMenuItem("Print File");
              item.addActionListener(this);
              proccess.add(item);
              item = new JMenuItem("Print Totals");
              item.addActionListener(this);
              proccess.add(item);
              item = new JMenu("Low and High");
              item.addActionListener(this);
              proccess.add(item);
              JMenuItem subItem = new JMenuItem("Compare");
              subItem.addActionListener(this);
              item.add(subItem);
              query.setEnabled(false);
              item = new JMenu("Average Total Utilization");
              item.addActionListener(this);
              query.add(item);
              JMenuItem itemInt = new JMenuItem("Internal");
              itemInt.addActionListener(this);
              item.add(itemInt);
              JMenuItem itemExt = new JMenuItem("External");
              itemExt.addActionListener(this);
              item.add(itemExt);
              item = new JMenuItem("Highest Internal Utilization");
              item.addActionListener(this);
              query.add(item);
              item = new JMenuItem("Highest Total Utilization");
              item.addActionListener(this);
              query.add(item);
              JMenuBar menuBar = new JMenuBar();
            setJMenuBar(menuBar);
            menuBar.add(file);
            menuBar.add(proccess);
            menuBar.add(query);
              contentPane.add(new JTextArea("Phone Report"));
      public void actionPerformed(ActionEvent event)
           String menuName;
           menuName = event.getActionCommand();
           if (menuName == "Open")
                JFileChooser chooser = new JFileChooser();
                int returnVal = chooser.showOpenDialog(this);
                if (returnVal == JFileChooser.APPROVE_OPTION)
                     try
                        File myFile = chooser.getSelectedFile();
                        this.LoadArray(myFile);
                        proccess.setEnabled(true);
                        query.setEnabled(true);
                     catch (Exception e)
         if (menuName == "Print File")
    JTextArea display = new JTextArea();
              display.setText("Hello");testing to see if it works
              display.setVisible(true);
         if (menuName == "Print Total")
                                               JTextArea display = new JTextArea();
              display.setText("Hello");//testing
              display.setVisible(true);
           if (menuName == "Exit")
                System.exit(0);
    }Phone.txt
    2000 0 300
    2000 0 538
    2000 1 305
    2000 1 729
    2005 0 205
    2005 0 305
    2005 1 592
    2005 1 594
    2010 0 364
    2010 0 464
    2010 1 904
    2010 1 100
    2020 0 234
    2020 0 839
    2020 1 999
    2020 1 210
    Assignment: Array Based GUI Assignment
    Telephone call data has been collected from a company's telephone switch. You have been asked to analyze it and produce various statistics.
    Input File
    The input file is a sequential file. It is in no specific order. The file contains an extension number, type of call, and the length of call in seconds. A record is produced each time a call is made from that extension. You should create your own test file.
    Field     Type     Description
    Extension     Integer     Extension number. This is a 4 digit number. Valid Extensions are 2000 to 2020.
    Type     Integer     Value of 1 means internal, any other value is an external call.
    Time     Long     Length of call in seconds
    Example:
    �     2000,1,60 : ----->>>> Extension 2000 had an internal call that lasted 60 seconds
    �     2000,1,356: ----->>>> Extension 2000 had an internal call that lasted 356 seconds
    �     2019,2,65: ------>>>> Extension 2019 had an external call that lasted 65 seconds
    �     2001,1,355: ----->>>> Extension 2001 had an internal call that lasted 355 seconds
    Process
    1.     Use 2 arrays to accumulate the time of calls for each extension, both internal and external.
    2.     The reports and queries are to be produced from the arrays.
    Hints:
    �     Create 2 arrays: one for internal calls and one for external calls.
    �     Load the arrays in Form Load: do not do any calculations here.
    �     The report and queries can totally be produced from the arrays.
    Output: Report
    Telephone Useage Report
    Extension Internal External
    2000 4500 3500
    2001 19350 22981
    2002 2333 900
    2003 3144 122
    Totals 99999 99999
    Output: Queries
    On the form add add query capability.
    1.     Average Total Utilization: Internal Calls: 9999 (total length of all internal calls / number extensions)
    2.     Average Total Utilization: External Calls: 9999
    3.     Extension with the highest internal call utilization: Ext xxxx; 9999 seconds.
    4.     Extension with the highest total utilization.
    Form Design
    The design of the form is up to you. However, use the following guidelines:
    �     use menus (preferred) or command buttons
    �     use a common dialog box to ask for the file name
    �     use a list box or text box to display the output
    the caption on the form should include your name

    hi
    u can try like following code
    if (menuName == "Print File")
              new mytextframe();
    class mytextframe extends JFrame{
         JTextArea display = new JTextArea();
         public mytextframe()
              setSize(300,300);
              setVisible(true);
              add(display);
              display.setText( "ello");
    }

  • New stacked canvas and action items

    I have a form with tree module components into the same window: one new content canvas and two new stacked canvas.
    The window has an action item. When I execute this form the action item is'nt visible because is placed under the stacked canvas. Is possible display the action item at the bottom of the window?

    hi
    try to adjust the View port width & height of stacked canvas properties back and forth.
    ram Not sure this addresses my problem. The stacked canvas properties are fine. However, I want to be able to execute a SHOW_VIEW on my stacked canvas after a FORM_TRIGGER_FAILURE has been raised. Obviously, I could place a button that did SHOW_VIEW when pressed but thats far from ideal. I want to be able to do it automatically without any need for the user to do anything.
    Regards
    Peter.

  • Need the new tab icon and need to move home page icon

    Need what I had on previous versions of Firefox. Need new tab icon next to address bar, it is not under customize. Need to move home page icon to the same place. It is very annoying to have it on the right side the of web page, need to have it on the left side.

    You can find the New Tab button showing as a '+' on the Tab bar.<br />
    You can open the Customize window and drag the New Tab button that shows as a plus sign (+) from the Tab bar on another toolbar and it will become a regular toolbar button like the New Tab button that you have in Firefox 3 versions.<br />
    If you can't find the New Tab button then click the "Restore Default Set" button in the Customize window.<br />
    If you want the New Tab button at the far right end of the Tab bar then place a flexible space to the left of it.
    * New tab toolbar button: https://addons.mozilla.org/firefox/addon/new-tab-toolbar-button/

  • How can I get ilife (iphoto/imovie) on my Used Retina ... Previously purchased new mbp 17 and have an Imac 27....

    Well I just purchased another Retina mbp 15 and this ones a keeper (sold 2 before this was just looking for a mint one).  Now my issue is I cant get ilife (in particular imovie and iphoto) without purchasing it and I dont want to do that.... yet.
    I did purchase a brand new mbp 17 in 2010 but not sure if I registered it or logged into the app store. Dont think I did because I dont see any downloads available in the app store.
    I have an imac 27 Im using right now and I dug up the appllications cd it came with. 
    My questions are:
    How can I install ilife or any of the apps without buying them?
    Are the applications one use only for the specific machines?
    Is there any way to use the resource dvd to install onto my retina ?
    (regarding this I have tried using remote disc and my retina wont show anything under remote disc when the cd is in my ima )
    ANy input or help is appreciated. I did enjoy using imove and iphoto alot and would like to have them again.

    I appreciate the replies. Grant if I have an Imac and the apps on the cd then what you are saying is it should be tied to my apple id and therefore I should be able to install them on my new macbook?
    I dont recall when I bought my mbp 17 if it had a cd and back then it was my first mac.. dont think there was an app store just itunes. It isnt tied to my account but shouldnt it be? I guess the person who bought that 17 from me got a free bundle :/
    Its not a matter of $30 I understand that fully. Its just its $30 wasted if I am able to get it.
    What im confused about (and I dont care to argue apples reasoning for it) is tying ilife to 'that Mac alone" is just dumb when a new owner of a machine cant install it and has to buy it again. that means the original owner keeps the apps for any machine he wishes and it isnt for the machine.
    I think im confusing myself and possibly answered my own question but ill leave it lol.

  • Can i use the iphone sim card in the new IPhone 3g and not have to renew?

    I have an Iphone now and want to get the new Iphone 3g. Can i still use my old sim card and old contract with the new phone and not have to start a new contract with at&t and pay again?

    It doesnt look like that is possible. Here is a qoute from engadget "Do you plan on upgrading your now-obsolete iPhone on July 11th? Great—good for you big spender. Here's the skinny. AT&T informed us that anyone who bought an iPhone after May 27th will be able to swap out their handset with no additional charges for an iPhone 3G. What about everyone else? If you signed a 2-year contract with AT&T when the iPhone came out (which you pretty much had to), you'll have to sign another new 2-year contract to score a new iPhone 3G. The good news is that AT&T will allow you to overwrite your old contract with your new contract. In other words, you're just locked into another 2 years, not 3."

  • When regstering my first iphone my e-mail address was different front the one using now.  when start using my I=pad once again a new email adress and now I would like to combine these different e-mail addresses's info on one profile.  Is it prossible?

    I have a i=phone 4S and 5S and a i-pad 2 
    How do I start sending sms from my i-pad  this function or app is not loaded on my tab

    Yes, use the iCloud one to have that automatically sync from.
    Read this:
    http://support.apple.com/kb/HT4895

  • How to add Predefined PDF Form as a Template in BIP - 11g

    Can anybody please help me to understand how to add Predefined PDF Form as a Template in BIP - 11g and how to map the Form fields with the Data Elelment.
    I tried it with 10 g set up as well, but I found following things
    1) PDF form template mapping was only available whenever we provide sample data with the same filed name and also number of fileld should be same.
    2) According to user manual that I have, it says that whenever I click on the form field while mapping the form field data elements, it should open a new window having the corresponding mapping details.
    But in my case no new window was opened when I clicked on the form field while mapping.
    Please help me out since i am beginner with BIP and have to move forward with Predefined PDF Form as a Template in BIP - 11g.

    I am new to BIP-11g. But i have created rtf, pdf templates in 10g. I am migrating reports to 11g. If you know How to add Predefined PDF Form as a Template in BIP - 11g , Please let me know.
    In 10 g you need to do the following things
    1. First you need to create data template.
    2. Then you have to upload pdf template.
    3. After you have uploaded the pdf template, Map Form Fields tab will appear. Then you can map the form fields.

  • PDF files to create a new book in iBooks Author

    Is it wise to use ready PDF files to create a new book in iBooks Author?
    I have a music book with lot's of images that whas previously published as a physical book. I have it all as ready PDF files with illustrations.
    Should I copy paste all texts and images seperately into iBooks Author or could I just drag the complete PDF's into the iBooks program.
    Thanks!

    To drag a page's contents means selecting just that page, which is just copy/paste with the result being an image.
    Dragging a PDF into an iBA book means dragging the entire file, which is not the same as selective copy/paste and as noted, results in just an image.
    It is possible to just do text /andor just do images, but success can depend on certain attributes they possess, etc. You need to select specific assets, then paste them in, then rework as needed.
    PDF-to-iBA isn't neat - formatting, fonts, etc. will be lost. Find the original content that the PDF came from and try to work with it, instead - that will be much cleaner and require less rework, I think.

  • Use of PDFs in PRO4

    Hello All, 
    Iu2019ve configured for the use of PDFs (expert view, other settlement, position 24 = 0, and the TRVFE feature). Modified and am using a Z copy of the expense form with no problems.  Here is my question/issue, in the weekly report (PR04) when I simulate or run results on a weekly report number, the results are displayed using ABAP list, and if I try to print then I get nothing.   I found an OSS note 1512422 that states that u201CPDF forms are not supported for weekly reportsu201D so I was wondering if anyone could confirm this.    
    I find it curious that the selectable options in the expert view position 24, option 2 specifically states u201CPDF not active only in PR05 and PR04u201D, but yet PDF are not supported for PR04.
    Question is:  Can PDFs be used in transaction PR04?
    Thank you for your time.

    Hi Don
    I was investigating this for you earlier but replying here also as it may help other customers with same enquiry! Yes, there are some some technical limitations between the different structures that impact on the old ABAP reporting compared with the newly delivered fields in PDF and unfortunately development have confirmed they cannot modify or adapt the standard template delivered for ABAP to PDF also.
    It can only be used for PR05 and TRIP at this time.
    Hope this helps!
    Sally

Maybe you are looking for