I have created a Hero web part in Sharepoint Online that links to an Excel file in a library. I need the file to open in the locally installed Excel application but it keeps opening in the browser version. I have changed the settings in the library itself to open files in the local application but when I click it from the link in the Hero web part, it still opens in the browser.

As a workaround I am now trying to add a hyperlink that points to the local excel file itself but the Hero web part will only allow me to add a link to an actual website. Does anyone know if there is any other way of getting it to open Excel in the local client?

1 Answer 1


Here is OOB approach for your reference.

Set library to open document in client.

enter image description here

Copy generated OuterHtml link for your excel file.

enter image description here

Paste to content editor/script editor web part of your page.

  • Hi Lee, thanks for the reply. I have tried to figure out how to get the OuterHtml to copy but an unsure how I would do this. Could you point me in the right direction?
    – Leroy
    Dec 5, 2017 at 13:24
  • Just click right key when you hover on the element.
    – Lee
    Dec 6, 2017 at 3:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.