Sharepoint page Button Web Part- I want linked document to open in desktop app

%3CLINGO-SUB%20id%3D%22lingo-sub-2062850%22%20slang%3D%22en-US%22%3ESharepoint%20page%20Button%20Web%20Part-%20I%20want%20linked%20document%20to%20open%20in%20desktop%20app%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2062850%22%20slang%3D%22en-US%22%3E%3CP%20data-unlink%3D%22true%22%3EOn%20my%20Sharepoint%20page%20I%20am%20using%20the%20default%20Button%20web%20part%20and%20when%20clicked%20I%20want%20it%20to%20open%20the%20linked%20document%20in%20the%20desktop%20app%20and%20not%20in%20browser.%20I%20have%20Advanced%20settings%20set%20to%20'%3CSTRONG%3EOpen%20in%20the%20client%20application%3C%2FSTRONG%3E'%2C%20but%20the%20system%20produced%20link%20always%20opens%20in%20browser%20when%20using%20the%20Button%20web%20part.%20I%20changed%20the%20link%20to%20be%20like%20'%3CSTRONG%3Ehttps%3A%2F%2Fxxxxxxx.sharepont.com%2FTest%2FPurchase%2520Request.xlsx%3C%2FSTRONG%3E'%2C%26nbsp%3Bbut%20it%20only%20downloads%20the%20document.%20The%20web%20part%20wont%20let%20me%20put%26nbsp%3B%3CSTRONG%3Ems-excel%3Aofe%7Cu%7C%26nbsp%3B%3C%2FSTRONG%3E%20in%20front%20of%20the%20HTTPS%20in%20this%20web%20part%20either.%26nbsp%3B%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3EThanks%20in%20advance%20for%20anyone%20that%20knows%20how%20I%20can%20make%20this%20work.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2062850%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Contributor

On my Sharepoint page I am using the default Button web part and when clicked I want it to open the linked document in the desktop app and not in browser. I have Advanced settings set to 'Open in the client application', but the system produced link always opens in browser when using the Button web part. I changed the link to be like 'https://xxxxxxx.sharepont.com/Test/Purchase%20Request.xlsx', but it only downloads the document. The web part wont let me put ms-excel:ofe|u|  in front of the HTTPS in this web part either. 

Thanks in advance for anyone that knows how I can make this work. 

0 Replies