Forum Discussion
Autocad DWG files in search results
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.
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
Verify that the user account that is performing this procedure is an administrator for the Search service application.
Start a SharePoint Management Shell on the server that hosts the content processing component.
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.
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
- Rajesh SitaramanMay 17, 2018Brass ContributorSharePoint Online!
- DeletedMay 17, 2018
Yes i'm aware but i believe below powershell should still work!