Skip to content
Loading
Edit the OneDrive name on SharePoint 2013
However, when I tried with this code:
 
 
 
It replaced all other links too.
 
 
I was sure that it was not able to find the unique id of oneDrive as a result it updatesed everything. Is there anyway to provide the unique id for one drive only? 
 
I tried giving the id as:
 
var branding = suitebar.find("ctl00_ctl55_ShellDocuments");
 
but nothing happened and then i tried
 
document.getElementById("ctl00_ctl55_ShellDocuments").innerHTML = "DS OneDrive"; 
 
but it threw JS error on IE 8 (worked on chrome and Mozilla)
 

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; MS-RTC LM 8)

Timestamp: Fri, 20 Nov 2015 22:24:15 UTC

Message: Unknown runtime error

Line: 1089

Char: 1

Code: 0

Most of the users would be using it on IE8 and browser upgrade is not an option. 
 
Can you plz help. 
0
  • Thanks Prasham for your reply. I am really new to SharePoint. I don't know how to use the Jquery. If you don't mind can you please expand on it little bit more.
    0
  • Prasham Sabadra
    Hi Vijay,
     
     I guess it can be done easily with the help of jQuery. That is the suit bar. So just using jQuery please find one drive and replace with local drive.
     
    Please let me know in case more help require.
    0