Forum Discussion

Rajesh Sitaraman's avatar
Rajesh Sitaraman
Copper Contributor
May 10, 2018

Autocad DWG files in search results

I have some AutoCAD files in modern library, when I search from SharePoint home page or locally from the modern team site I see only display form link of DWG file as search result not the actual file link. I don't expect the file to be rendered in browser, at-least it should provide direct file link to download the file. 

 

The display form shows the associated meta data to the file, but no option to download the file.

6 Replies

  • Hi Rajesh Sitaraman - have you been enable to configure search to help with your dwg files? We are trying to figure out if we should move our autocad files to O365 or leave them on the server. Thank you!

  • Does this happen with modern search ? Can you please provide us a screenshot for the issue.

     

    Thanks

    • Rajesh Sitaraman's avatar
      Rajesh Sitaraman
      Copper Contributor

      Occurs on both modern as well as classic search. Screen shot below on click on search result it redirects to .../Shared%20Documents/Forms/DispForm.aspx?ID=xx

       

      Expected behavior it should open/download the ContosoBuilding.dwg file and not display form of the document.

       

      • Deleted's avatar
        Deleted

        It seems like AutoCAD is not a recognized file format for SharePoint Search. Can you run specific powershell listed in URL below to make it parsable and see if it helps.

        https://docs.microsoft.com/en-us/sharepoint/search/add-or-remove-a-file-type-from-the-search-index#proc1

        To enable parsing of a file format using a built-in format handler

        1. Verify that the user account that is performing this procedure is an administrator for the Search service application.

        2. Start a SharePoint Management Shell on the server that hosts the content processing component.

        3. At the Microsoft PowerShell command prompt, type the following commands:

          Copy
          $ssa = Get-SPEnterpriseSearchServiceApplication
          Set-SPEnterpriseSearchFileFormatState -SearchApplication $ssa FormatID $TRUE

          Where:

          FormatID is the identity of the file format.

          $TRUE enables the format handler to parse the file type.

        4. Restart the SharePoint Search Host Controller service to apply the changes:

          • Open a command prompt window on the server that hosts the content processing component. On the Start menu, click All Programs, click Accessories, right-click Command Prompt and then click Run as administrator.

          • To stop the SharePoint Search Host Controller, type this command: net stop spsearchhostcontroller

Resources