Tags:
create new tag
view all tags

Question

When someone attaches an Microsoft Word or Excel file (Office 2007), TWiki does not recognize the file type. Our company is transitioning between Office 2003 and 2007, so not everyone has migrated over and it's causing problems trying to open the attachments. When clicking on the link to the attachment, TWiki tries to open it with WinZip. File extension of Word is .docx and Excel is .xlsx. Older versions of Word and Excel have no problems. The workaround is that we have to save the file as an Office 97/2003 document, but not everyone remembers to do that, unless they tested the attachment. BTW, the Office 2007 users can't open the files either. Is there a way to associate the .docx and .xlsx files to Microsoft Word and Excel respectively. I have not tried Powerpoint yet, but I'll bet we will have the same problem.

Environment

TWiki version: TWikiRelease04x01x01
TWiki plugins:  
Server OS: Linux
Web server: Apache
Perl version:  
Client OS: MS Windows XP
Web Browser: IE 7.0
Categories: Forms, Missing functionality

-- ZenaFong - 21 May 2008

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

I don't have Office 2007, so I can't be sure. But I suspect it isn't (exactly) TWiki that's the problem but the Apache server: /apache/conf/mime.types may need to be changed to send the right header. See http://forums.oracle.com/forums/thread.jspa?messageID=2359916

If after that your workstation still tries to open them with WinZIP, then you probably need to change the file association on the workstation.

-- SeanCMorgan - 22 May 2008

Thanks Sean - I found the mime.types file after posting this question and added the .docx, xlsx and pptx extensions for Word, Excel and Powerpoint. The good news is that it does now recognize the filetypes on a system with Office 2007. The bad news is that on a system with IE 6 and Office 2003, I get different results with Word, Excel and Powerpoint. If anyone else has any other suggestions, please post them! Thanks!

-- ZenaFong - 22 May 2008

You're definitely out the TWiki arena now, so you might have better luck asking in a Microsoft forum, or checking their web resources.

-- SeanCMorgan - 26 May 2008

Closing this after more than 30 days of inactivity. Please feel free to re-open if needed.

-- PeterThoeny - 02 Aug 2008

Change status to:
Topic attachments
I Attachment History Action Size Date Who Comment
Microsoft Word filedocx test.docx r1 manage 0.1 K 2008-05-22 - 15:13 UnknownUser  
Microsoft Excel Spreadsheetxlsx test.xlsx r1 manage 0.1 K 2008-05-22 - 15:14 UnknownUser  
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2008-08-02 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.