Question

We are using SharePoint 2013 on-premise. We have deployed a custom master page where we have removed the links for "One drive", "Sites" etc on the top right corner.

We want to have a dynamic link in the left navigation menu in the my site host, that is shown to all users. We want to point the link to a users "one drive".

I am not quite sure how to achieve this as the left navigation menu is static, and the link is different for all users as it point to the users my site. Any good ideas on how I somehow can get a dynamic link?

Was it helpful?

Solution

Yes, the Links in the QuickLaunch are static, but...

You can make a link to a static Redirect Page (or Custom APSX Page), where you extract the link to OneDrive and redirect to it with window.location=

They will see a blank page.. or make a nice redirect text (just in case somewhting goes wrong in your script)

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top