You need to sign in to do that
Don't have an account?
pooja chauchan
Hide Related List
Hi,
I have used below code to hide the related list.
//This code finds our "Notes and Attachments" related list, and hides it completely:
var el = document.getElementsByTagName('*');
for(var i=0;i<el.length;i++){
if(el[i].id.match('_RelatedNoteList')){ //This finds our related list.
//Salesforce appends the record Id to the html name,
//so this finds a match disregarding the record Id.
//We need to toggle both visibility and display for support across various browser types
el[i].style.visibility="hidden"; //hide visibility
el[i].style.display="none"; //hide display.
}
}
But, i am not able to get ID's or Class name's from right side pane to left nav. pane..
i have created Visualforce page in left nav from homepage component.
please tell me the alternative way to get ID 's from right pane to left pane...
Thank you in advance!!
I have used below code to hide the related list.
//This code finds our "Notes and Attachments" related list, and hides it completely:
var el = document.getElementsByTagName('*');
for(var i=0;i<el.length;i++){
if(el[i].id.match('_RelatedNoteList')){ //This finds our related list.
//Salesforce appends the record Id to the html name,
//so this finds a match disregarding the record Id.
//We need to toggle both visibility and display for support across various browser types
el[i].style.visibility="hidden"; //hide visibility
el[i].style.display="none"; //hide display.
}
}
But, i am not able to get ID's or Class name's from right side pane to left nav. pane..
i have created Visualforce page in left nav from homepage component.
please tell me the alternative way to get ID 's from right pane to left pane...
Thank you in advance!!
this will get solved by using custom links instead of html area...
thanks.. :-)