Click here to Skip to main content
15,887,683 members
Articles / Productivity Apps and Services / Sharepoint
Tip/Trick

Document Library - Enable New Document, Edit Document Features

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
14 Aug 2012CPOL3 min read 23.4K  
In this article we can explore the underlying aspects involved in enabling the New Document feature in a Document Library.

Introduction

In this article we can explore the underlying aspects involved in enabling the New Document feature in a Document Library.

Image 1

The expected case on clicking the above button is to create a new document inside MS Office client in the local machine. The template of the particular document is fetched from the configured one for Document Library.

We are using the following environment:

  • SharePoint 2010
  • Windows 7 64 bit
  • Office 2010
  • Internet Explorer 8

While using the command some of you might have faced the problem with this dialog box:

Image 2

The error message says: ‘New Document’ requires a Microsoft SharePoint Foundation-compatible application and web browser.

Now let us go some levels deep to see what is happening in the hood. Following are the infrastructure elements required to make it work as expected.

Element 1: Compatible Browser Version

You have to ensure that the right version and bit of Browser is being used.  The 32 bit version of Internet Explorer is compatible with this feature.

You can check the version from Browser > Help Button > About Internet Explorer menu item.

Image 3

Note: The default iexplore command executed from Run window opens the IE 32 bit version.

Element 2: Compatible Office Version

  • SharePoint 2010 is best compatible with Office 2010
  • SharePoint 2007 is best compatible with Office 2007

Ensure that the client machine is having a compatible Microsoft Office version installed.

Image 4

Element 3: Microsoft SharePoint Foundation Support in Office

You have to ensure the Microsoft Office installed has the following feature:

Microsoft Office > Office Tools > Microsoft SharePoint Foundation Support

Image 5

If the above feature is not installed (Run from My Computer) you need to fix this.

Following are the steps to fix this:

  1. Go to Control Panel
  2. Choose Programs and Features
  3. Select Microsoft Office 2010
  4. Choose Change option and Add / Remove features
  5. Ensure the above option is selected as Run from My computer
  6. Execute the installation

Element 4: Internet Explorer ActiveX Control

Additionally the ‘New Document’ feature inside Internet Explorer works by launching a 64-bit Active X control. You can verify this control is enabled inside Internet Explorer. Please follow the following steps to verify it.

Open Internet Explorer and choose Tools > Internet Options window.  Go to the tab Programs and click on the Manage add-ons button as shown below:

Image 6

In the appearing window choose All add-ons as shown below:

Image 7

Once the list on the right hand side is refreshed, sort the list based on Publisher column and locate the item named SharePoint OpenDocuments Class as shown below.

Image 8

Ensure the version is 14.0 and it is enabled (If you can see the Disable button it shows it is enabled)

Testing the New Document feature

Now everything is ensured we can test the above feature.  Open the SharePoint site, go to a library, select the Documents tab and click on the New Document button.

Image 9

You will be getting a dialog similar to this:

Image 10

The warning is happening because the template.dotx will be opened by Microsoft Word application locally.  This may induce any security threats if the source of the document is not valid.  Click the OK button to continue.

You can see the new document is created inside Microsoft Word as shown below:

Image 11

This concludes our research with New Document feature enabling and usage with compatible browser and Office application. The same aspects are to be ensured while working with Edit document feature from the client side.

Advanced Settings

Inside the Library Settings you can change the following:

  • Default Template
  • Add multiple content type templates
  • Change the document open behaviour in client side

References

Summary

In this article we have explored the underlying aspects of making the New Document feature work in client side.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
United States United States
Jean Paul is a Microsoft MVP and Architect with 12+ years of experience. He is very much passionate in programming and his core skills are SharePoint, ASP.NET & C#.

In the academic side he do hold a BS in Computer Science & MBA. In the certification side he holds MCPD & MCTS spanning from .Net Fundamentals to SQL Server.

Most of the free time he will be doing technical activities like researching solutions, writing articles, resolving forum problems etc. He believes quality & satisfaction goes hand in hand.

You can find some of his work over here. He blogs at http://jeanpaulva.com

Comments and Discussions

 
-- There are no messages in this forum --