Hello:
I need to modify the address for "OneDrive" link. I tried delegate control approach but that does not seem to be working. Any pointers?
I tried below delegate control code to no avail:
_spBodyOnLoadFunctionNames.push("overrideSuiteBarLinks");
function overrideSuiteBarLinks() {
$("a[id$='ShellDocuments']").each(function () {
var currLink = $(this);
currLink.attr("href", "www.abc.com");
console.log("done: " + currLink.attr("href"));
});
}I can see the log statement printed to the console with correct address but when the page is rendered the address reverts to OneDrive's out-of-the-box address.
Thanks!