Jan 22 2020 08:53 AM
I made a custom SPFX command set extension that can be used for making links to files. The extension creates a .url file which opens in the browser. Here is an example of one of the files:
[InternetShortcut]
URL=https://bluemetal.sharepoint.com/sites/stephendevShared Documents/ProjectName1/Agreements/meeting-notes10-10-10.docx?web=1
It works perfectly in my dev environment, but in the production environment the .url files fail to open, they just get downloaded instead. I have also noticed that if I download the file and reupload them, they open fine in the browser.
I have no idea why this is happening and would appreciate any help.
Oct 28 2020 09:27 AM
I have the same issue, no idea whats causing it
Oct 08 2022 04:01 AM
@StephenBradley Did you ever find a solution to this? We're finding that .url files don't open in a browser only on classic site collections. Seems to work fine on modern ones.