Wednesday, September 22, 2010

Remove Associated Buttons (Add Existing xxxxx to this record)

I recently had a request to remove the "Add Existing [entity name] to this record" button from the associated view for a client.

The below link is a great post on how to do this:

MSCRM 4 - Remove 'Add Existing xxxxx to this record' button by Dave Hawes

The only modification I made to this code was to use
liElements[i].outerHTML='<SPAN></SPAN>'; 

instead of
liElements[i].style.display = 'none';


My next post will discuss how to change the name of these associated buttons.

No comments:

Post a Comment