Autocad DWG files in search results

%3CLINGO-SUB%20id%3D%22lingo-sub-192439%22%20slang%3D%22en-US%22%3EAutocad%20DWG%20files%20in%20search%20results%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-192439%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20some%20AutoCAD%20files%20in%20modern%20library%2C%20when%20I%20search%20from%20SharePoint%20home%20page%20or%20locally%20from%20the%20modern%20team%20site%20I%20see%20only%20display%20form%20link%20of%20DWG%20file%20as%20search%20result%20not%20the%20actual%20file%20link.%20I%20don't%20expect%20the%20file%20to%20be%20rendered%20in%20browser%2C%20at-least%20it%20should%20provide%20direct%20file%20link%20to%20download%20the%20file.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20display%20form%20shows%20the%20associated%20meta%20data%20to%20the%20file%2C%20but%20no%20option%20to%20download%20the%20file.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-192439%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-194735%22%20slang%3D%22en-US%22%3ERe%3A%20Autocad%20DWG%20files%20in%20search%20results%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-194735%22%20slang%3D%22en-US%22%3E%3CP%3EYes%20i'm%20aware%20but%20i%20believe%20below%20powershell%20should%20still%20work!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-194718%22%20slang%3D%22en-US%22%3ERe%3A%20Autocad%20DWG%20files%20in%20search%20results%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-194718%22%20slang%3D%22en-US%22%3ESharePoint%20Online!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-192845%22%20slang%3D%22en-US%22%3ERe%3A%20Autocad%20DWG%20files%20in%20search%20results%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-192845%22%20slang%3D%22en-US%22%3E%3CP%3EIt%20seems%20like%20AutoCAD%20is%20not%20a%20recognized%20file%20format%20for%20SharePoint%20Search.%20Can%20you%20run%20specific%20powershell%20listed%20in%20URL%20below%20to%20make%20it%20parsable%20and%20see%20if%20it%20helps.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fsearch%2Fadd-or-remove-a-file-type-from-the-search-index%23proc1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fsearch%2Fadd-or-remove-a-file-type-from-the-search-index%23proc1%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3ETo%20enable%20parsing%20of%20a%20file%20format%20using%20a%20built-in%20format%20handler%3C%2FSTRONG%3E%3C%2FP%3E%3COL%3E%3CLI%3E%3CP%20class%3D%22x-hidden-focus%22%3EVerify%20that%20the%20user%20account%20that%20is%20performing%20this%20procedure%20is%20an%20administrator%20for%20the%20Search%20service%20application.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EStart%20a%20SharePoint%20Management%20Shell%20on%20the%20server%20that%20hosts%20the%20content%20processing%20component.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EAt%20the%20Microsoft%20PowerShell%20command%20prompt%2C%20type%20the%20following%20commands%3A%3C%2FP%3E%3CDIV%20class%3D%22codeHeader%22%3E%3CSPAN%3ECopy%3C%2FSPAN%3E%3C%2FDIV%3E%3CPRE%3E%24ssa%20%3D%20Get-SPEnterpriseSearchServiceApplication%0ASet-SPEnterpriseSearchFileFormatState%20-SearchApplication%20%24ssa%20FormatID%20%24TRUE%3C%2FPRE%3E%3CP%3EWhere%3A%3C%2FP%3E%3CP%3EFormatID%20is%20the%20identity%20of%20the%20file%20format.%3C%2FP%3E%3CP%3E%24TRUE%20enables%20the%20format%20handler%20to%20parse%20the%20file%20type.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3ERestart%20the%20SharePoint%20Search%20Host%20Controller%20service%20to%20apply%20the%20changes%3A%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3EOpen%20a%20command%20prompt%20window%20on%20the%20server%20that%20hosts%20the%20content%20processing%20component.%20On%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EStart%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Emenu%2C%20click%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EAll%20Programs%3C%2FSTRONG%3E%2C%20click%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EAccessories%3C%2FSTRONG%3E%2C%20right-click%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ECommand%20Prompt%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eand%20then%20click%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ERun%20as%20administrator%3C%2FSTRONG%3E.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3ETo%20stop%20the%20SharePoint%20Search%20Host%20Controller%2C%20type%20this%20command%3A%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3Enet%20stop%20spsearchhostcontroller%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3C%2FOL%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-192481%22%20slang%3D%22en-US%22%3ERe%3A%20Autocad%20DWG%20files%20in%20search%20results%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-192481%22%20slang%3D%22en-US%22%3E%3CP%3EOccurs%20on%20both%20modern%20as%20well%20as%20classic%20search.%20Screen%20shot%20below%20on%20click%20on%20search%20result%20it%20redirects%20to%26nbsp%3B...%2FShared%2520Documents%2FForms%2FDispForm.aspx%3FID%3Dxx%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EExpected%20behavior%20it%20should%26nbsp%3Bopen%2Fdownload%20the%20ContosoBuilding.dwg%20file%20and%20not%20display%20form%20of%20the%20document.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F33917iED851E93DDED7D18%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Screen%20Shot%202018-05-10%20at%201.35.12%20PM.png%22%20title%3D%22Screen%20Shot%202018-05-10%20at%201.35.12%20PM.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-192473%22%20slang%3D%22en-US%22%3ERe%3A%20Autocad%20DWG%20files%20in%20search%20results%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-192473%22%20slang%3D%22en-US%22%3E%3CP%3EDoes%20this%20happen%20with%20modern%20search%20%3F%20Can%20you%20please%20provide%20us%20a%20screenshot%20for%20the%20issue.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1000043%22%20slang%3D%22en-US%22%3ERe%3A%20Autocad%20DWG%20files%20in%20search%20results%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1000043%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3619%22%20target%3D%22_blank%22%3E%40Rajesh%20Sitaraman%3C%2FA%3E%26nbsp%3B-%20have%20you%20been%20enable%20to%20configure%20search%20to%20help%20with%20your%20dwg%20files%3F%20We%20are%20trying%20to%20figure%20out%20if%20we%20should%20move%20our%20autocad%20files%20to%20O365%20or%20leave%20them%20on%20the%20server.%20Thank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

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
Highlighted

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

 

Thanks

Highlighted

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.

 

Screen Shot 2018-05-10 at 1.35.12 PM.png

Highlighted

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#p...

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

Highlighted
SharePoint Online!
Highlighted

Yes i'm aware but i believe below powershell should still work!

Highlighted

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!