locked
opening DWF and dwg files from sharepoint in native programs RRS feed

  • Question

  • Would Like to open a .dwf and .dwg files from the library and makes changes and save it on the native programs

     

    Wednesday, August 31, 2011 11:39 AM

Answers

All replies

  • To do that you will need to edit the DOCICON.xml file and reference a custom ActiveX control installed on each workstation that will actually handle opening the document.  Here's an article that talks about creating such an activeX control for PDF files.  You would need one that will open DWF And DWG files.

    http://blogs.msdn.com/b/malag/archive/2010/05/13/using-custom-opendocuments-control-to-open-custom-file-types-in-sharepoint.aspx


    Paul Stork SharePoint Server MVP Chief SharePoint
    Architect: Sharesquared Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    • Marked as answer by John Hartford Thursday, September 1, 2011 4:57 AM
    Wednesday, August 31, 2011 12:28 PM
  • Thanks Paul,

     

    Yes I tried the same for pdf search but did not add

    <Mapping Key="pdf" Value="pdf.gif"  EditText="Adobe Acrobat" OpenControl="SharePoint.OpenDocuments"/>
    or
    <Mapping Key="pdf" Value="pdf.gif"  EditText="Adobe Acrobat" OpenControl="Malag.OpenDocuments"/>

    in the DOCICON.xml file but just added

    <Mapping Key="pdf" Value="pdf16.png" />
        </ByExtension>

    And yes I do get the pop up for ready only and edit option.

    Coming back to the main question on dwf and dwg file i am still stuck

    Wednesday, August 31, 2011 1:43 PM
  • The SharePoint.OpenDocuments ActiveX control only works with OFFICE files, and won't work with PDF, DWF, or DWG.  You need a custom ACTIVEX control that will work with AutoDesk.  The PDF entry works without the OpenControl entry because there is a default MIME type registered in the browser to open PDFs automatically.  I don't imagine you have a similar entry for DWF or DWG locally.  Without it you will need a custom ActiveX contol as defined in the blog post that works with Autodesk.  So the answer posted is still the only real answer for DWF or DWG since I don't think a browser will open those file extensions automatically on download.


    Paul Stork SharePoint Server MVP Chief SharePoint
    Architect: Sharesquared Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Wednesday, August 31, 2011 5:22 PM