Is it possible to force a link within a SharePoint site to open in a certain browser?
We have an online system that works best in Chrome. I've placed a link to this system in a library on our site - however, it will open in IE if that happens to be your default browser.
Ideally, a user would click the link and it would open in Chrome, no matter what his/her default browser is.
Someone asked this question on another forum and was given this answer:
OOTB, SharePoint only opens in browser which is set as default.
However, if this customization is absolutely necessary,you can develop a server side web part in which you can generate a link.Clicking on which will execute
Chrome.exe
process and open the link in browser.
Code snippet to call Chrome.exe
would be as follows:
System.Diagnostics.Process.Start("chrome.exe",
"http://sp.path.to/your/file.doc")
My issue is that I don't know much code, where to place this code, or how to make it execute when a link is clicked. Can anyone give me a push in the right direction?
FYI: Here's the link to the other forum where this question was asked. I can't place a hyperlink in the body of this question b/c my account is not yet verified: sharepoint.stackexchange.com/questions/132858/format-link-to-open-in-desired-browser-chrome