|
How to enable the “Edit in Microsoft Office
XXXXX” feature for Office 2007 documents
If you have documents
stored in WSS 2.0 that were created with the
Office 2007 suite you will notice there is
no “Edit in Office Word/Excel/PowerPoint”
menu item on the document context menu. For
example, if the document was created using
Microsoft Office Word 2007, there would be
no “Edit in Microsoft Office Word” menu
item. Users are required to download the
document to their desktop, make changes, and
upload the document again.
For the first time
Microsoft will have file extensions with
more than 3 characters. The well known
.doc, .xls and .ppt file extensions are no
longer used. The new file extensions for
Office 2007 documents are:
Microsoft Office Word
2007:
·
Word Document (.docx) -
Default format
·
Word Macro-enabled Document (.docm)
·
Word Template (.dotx)
·
Word Macro-enabled Document
Template (.dotm)
Microsoft Office Excel
2007:
·
Excel Workbook (.xlsx) -
Default format
·
Excel Macro-enabled Workbook
(.xlsm)
·
Excel Template (.xltx)
·
Excel Macro-enabled Workbook
Template (.xltm)
·
Excel Binary Workbook (.xlsb)
·
Excel Add-in (.xlam)
Microsoft Office
PowerPoint 2007:
·
PowerPoint Presentation (.pptx)
- Default format
·
PowerPoint Macro-enabled
Presentation (.pptm)
·
PowerPoint Slide Show (.ppsx)
·
PowerPoint Macro-enabled Slide
Show (.ppsx)
·
PowerPoint Template (.potx)
·
PowerPoint Macro-enabled
Presentation Template (.potm)
·
PowerPoint Add-in (.ppam)
It is possible to
customize WSS 2.0 to enable this menu item
for Office 2007 documents. For example, if
you would like to enable the same “Edit in
Microsoft Office XXXXX” feature for Office
2007 documents follow the step by step
instructions below.

Follow the steps
below to add this feature for Microsoft
Office Word 2007 documents:
1.
Edit the Docicon.xml file to include
the .docx, .docm, dotx, and .dotm file name
extensions. To do so:
a.
Start Notepad, and then open the
Docicon.xml file. The Docicon.xml file is
located in the following folder on the
server: Drive:\Program
Files\Common Files\Microsoft Shared\Web
server extensions\60\Template\Xml
b.
In the <ByExtension> section of the
Docicon.xml file, add the following entries:
<Mapping Key="docx" Value="icdoc.gif"
EditText="Microsoft Office Word" OpenControl="SharePoint.OpenDocuments"/>
<Mapping Key="docm" Value="icdoc.gif"
EditText="Microsoft Office Word" OpenControl="SharePoint.OpenDocuments"/>
<Mapping Key="dotx" Value="icdot.gif"
EditText="Microsoft Office Word" OpenControl="SharePoint.OpenDocuments"/>
<Mapping Key="dotm" Value="icdot.gif"
EditText="Microsoft Office Word" OpenControl="SharePoint.OpenDocuments"/>
d.
On the File menu, click Save, and
then quit Notepad.
Follow the steps
below to add this feature for Microsoft
Office Powerpoint 2007 documents:
1.
Edit the Docicon.xml file to include
the .pptx, pptm, potx, and potm file name
extensions. To do so:
a.
Start Notepad, and then open the
Docicon.xml file. The Docicon.xml file is
located in the following folder on the
server: Drive:\Program
Files\Common Files\Microsoft Shared\Web
server extensions\60\Template\Xml
b.
In the <ByExtension> section of the
Docicon.xml file, add the following entries:
<Mapping
Key="potx" Value="icpot.gif" EditText="Microsoft
Office PowerPoint" OpenControl="SharePoint.OpenDocuments"/>
<Mapping Key="potm" Value="icpot.gif"
EditText="Microsoft Office PowerPoint"
OpenControl="SharePoint.OpenDocuments"/>
<Mapping Key="pptx" Value="icppt.gif"
EditText="Microsoft Office PowerPoint"
OpenControl="SharePoint.OpenDocuments"/>
<Mapping Key="pptm" Value="icppt.gif"
EditText="Microsoft Office PowerPoint"
OpenControl="SharePoint.OpenDocuments"/>
c.
On the File menu, click Save, and
then quit Notepad.
Follow the steps
below to add this feature for Microsoft
Office Excel 2007 documents:
1.
Edit the Docicon.xml file to include
the .xlsx, .xlsm, .xlsb, .xltx, .xltm, and .xltb
file name extensions. To do so:
d.
Start Notepad, and then open the
Docicon.xml file. The Docicon.xml file is
located in the following folder on the
server: Drive:\Program
Files\Common Files\Microsoft Shared\Web
server extensions\60\Template\Xml
e.
In the <ByExtension> section of the
Docicon.xml file, add the following entries:
<Mapping
Key="xlsx" Value="icxls.gif" EditText="Microsoft
Office Excel" OpenControl="SharePoint.OpenDocuments"/>
<Mapping
Key="xlsb" Value="icxls.gif"
EditText="Microsoft Office Excel"
OpenControl="SharePoint.OpenDocuments"/>
<Mapping
Key="xlsm" Value="icxls.gif" EditText="Microsoft
Office Excel" OpenControl="SharePoint.OpenDocuments"/>
<Mapping Key="xltx" Value="icxlt.gif"
EditText="Microsoft Office Excel"
OpenControl="SharePoint.OpenDocuments"/>
<Mapping
Key="xltb" Value="icxlt.gif" EditText="Microsoft
Office Excel" OpenControl="SharePoint.OpenDocuments"/>
<Mapping
Key="xltm" Value="icxlt.gif" EditText="Microsoft
Office Excel" OpenControl="SharePoint.OpenDocuments"/>
f.
On the File menu, click Save, and
then quit Notepad.
Important Note:
An IISRESET must be performed in order for
the changes to take effect. To do so:
a.
Click Start, and then click Run.
b.
In the Open box, type cmd, and then
click OK.
c.
At the command prompt, type the “iisreset”,
and then press ENTER.
Type exit, and then
press ENTER to quit Command Prompt. |