Forum Discussion

timparsons's avatar
timparsons
Brass Contributor
Jan 03, 2020

Auto download link

I'm adding an excel document into a document library and want to create a link on a page that automatically downloads the file rather than it automatically opening in Excel online. After some research I saw that you could change the URL of the share link to it had 'download.aspx' but the original didn't have the 'guestaccess.aspx' that is mentioned. Anyone got any suggestions?

  • Nevermind, I found out if I had in ?download=1 in the URL it will work.

  • timparsons's avatar
    timparsons
    Brass Contributor

    Nevermind, I found out if I had in ?download=1 in the URL it will work.

    • ChrisWebbTech's avatar
      ChrisWebbTech
      MVP
      Yup. You probably found another post I replied in with that trick 😉

Resources