A couple of times a month I read the question on a forum how to hide/disable the “Add Existing” button. Unfortunately nobody comes up with a suitable solution.Within my current project someone asked me the same question. My first reaction was that is not possible within the borders of Microsoft support we have committed ourselves to. Some moments later I realized the “Add Existing” button we were talking about was displayed in an iFrame. That is a different story.Based on a previous post, I am able to hide elements in an iFrame and this includes the “Add Existing” button. See picture below (for original form see other post).

add_existing.gif

The script I added is simple:

//hide the Add Existing button
if (objWindow.document.all._MBtoplocAssocOneToMany4200AccountActivityPointers !=null)
{
objWindow.document.all._MBtoplocAssocOneToMany4200AccountActivityPointers.style.display ='none';
}

 In my previous post you can read how to use it.

I know it does not solve the problem of hiding the “Add Existing” button on the Associated views, but in some cases it can be a way out.

Incoming search terms