I'm having issues where pdf files added to a document library are opening up in Word Online instead of just the browser. Is there a way to set it up where .pdf files open in the browser and word documents to open in Word Online?
I am using SharePoint 2019 on-premise
I've added the pdf to the Mime Types using the PowerShell script below but the .pdf documents are still opening in word online.
$webApplication = Get-SPWebApplication("webapp URL") $webApplication.AllowedInlineDownloadedMimeTypes.Add("application/pdf") $webApplication.Update()