Photo Preview

Bentley Colleague Blogs

This is where you can find and contribute to discussions, ideas, and other information from Bentley Colleagues.

Jo West's ProjectWise Blog

ProjectWise - Sustaining Infrastructure

Photo Preview

Rate This
  • Comments 5

Microsoft office documents no longer display by default in the Photo Preview tab in ProjectWise Explorer with the ProjectWise V8i Select Series 1 release. There is a new configuration file (pwviewer.cfg ) that must be modified before those types of documents can be seen in the tab.

Viewing Office documents in the Photo Preview tab
The Photo Preview tab is primarily designed for image documents, but can also be configured to display Office documents. Office documents are disabled by default from displaying in the Photo Preview tab. To enable their display, you must perform these steps:

1. To display Microsoft Word, Excel, and PowerPoint documents in the Photo Preview tab, the respective application must also be installed.

2. Open the file called "pwviewer.cfg" located in the "...\ProjectWise\bin" directory and uncomment the line for each MIME type of the file type you want to display. For example, if you want to display Microsoft Word documents, then you would uncomment (remove the # from) the following line:

#application/msword

The following are the MIME types in the delivered pwviewer.cfg file:

#application/outlook
#application/msword
#application/vnd.openxmlformatsofficedocument.wordprocessingml.document
#application/vnd.ms-excel
#application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
#application/vnd.ms-powerpoint
#application/vnd.openxmlformatsofficedocument.presentationml.presentation

3. (Windows XP users) In Windows Explorer go to Tools > Options. In the Folder Options dialog, select the File Types tab. In the Extensions list, select the file type of the document you are trying to preview, and click Advanced. In the dialog that opens, turn on the option, Browse in same window.

4. (Windows Vista users) Open your Registry Editor and do the following:
For .DOC files: Find HKEY_CLASSES_ROOT\Word.Document.8, set the DWORD subkey BrowserFlags to a value of 0.

For .DOCX files: Find HKEY_CLASSES_ROOT\Word.Document.12, set the DWORD subkey BrowserFlags to a value of 24 (if Base is Hexadecimal) or 36 (if Base is Decimal).

For .RTF files: Find HKEY_CLASSES_ROOT\Word.RTF.8, set the DWORD subkey BrowserFlags to a value of 0.

For .XLS files: Find HKEY_CLASSES_ROOT\Excel.Sheet.8, set the DWORD subkey BrowserFlags to a value of 0.

For .XLSX files: Find HKEY_CLASSES_ROOT\Excel.Sheet.12, set the DWORD subkey BrowserFlags to a value of 24 (if Base is Hexadecimal) or 36 (if Base is Decimal).

For .PPT files: Find HKEY_CLASSES_ROOT\PowerPoint.Show.8, set the DWORD subkey BrowserFlags to a value of 0.

For .PPTX files: Find HKEY_CLASSES_ROOT\PowerPoint.Show.12, set the DWORD subkey BrowserFlags to a value of 24 (if Base is Hexadecimal) or 36 (if Base is Decimal).

Viewing other file types in Photo Preview
If you want to view a file type that is not listed in the "pwviewer.cfg" file, you can add the MIME types (one MIME type per line) of those file types to this file as well.

For example, if you want to view JPEG2000 and SVG files inside the Photo Preview tab using the Apple QuickTime plug-in (http://www.apple.com/quicktime/download/), you would add the following two lines to the "pwviewer.cfg" file:

image/jpeg2000
image/svg+xml

JP

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • * Please enter your name
  • * Please enter a comment
  • Post
  • Just one comment: If you are using Office 2007 it is highly recommended to use PW SS1 RU because of some improvements we have made.

  • In # 3 with XP users; is there a Reg key that we can push to users rather than having each user make the "Browes in same window" change?

  • There recently released ProjectWise V8i (SELECTseries 1) refresh(8.11.7.133) no longer uses the Office IE helper app to preview files, but rather uses the built-in windows preview capabilities.  This avoids all of the conflicts with the office apps themselves and the need to make sure the various registry settings are correct.  It also avoids the situation where it looks to the user like the files can be editted through this interface.

  • Installed the refresh client and added to the pwviewer.cfg

    application/vnd.visio

    this displays visio documents very nicely

  • I fould that with Outlook 2007 installed msg files do not display in the photoviewer but instead behave as file-open without check-out

Page 1 of 1 (5 items)
Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • * Please enter your name
  • * Please enter a comment
  • Post