Answered by:
Omitting the 'New' button on a entity view

Question
-
In order to have a user specifically create a new Contact record from a related entity, I want to eliminate the 'New' button in the Contact's main view. I know how to hide an associated view button from an associated view, but this is the main view.
Thank you
AppsWednesday, November 10, 2010 6:21 PM
Answers
-
you can only do this through unsupported way, check my post, in the same way you hide new button
http://mahenderpal.wordpress.com/2010/06/07/hide-ms-crm-4-0-grid-button/
Mahain : http://mahenderpal.wordpress.com- Proposed as answer by HIMBAPModerator Wednesday, November 10, 2010 7:14 PM
- Marked as answer by Jim Glass Jr Thursday, November 11, 2010 8:24 PM
Wednesday, November 10, 2010 7:14 PMModerator
All replies
-
you can only do this through unsupported way, check my post, in the same way you hide new button
http://mahenderpal.wordpress.com/2010/06/07/hide-ms-crm-4-0-grid-button/
Mahain : http://mahenderpal.wordpress.com- Proposed as answer by HIMBAPModerator Wednesday, November 10, 2010 7:14 PM
- Marked as answer by Jim Glass Jr Thursday, November 11, 2010 8:24 PM
Wednesday, November 10, 2010 7:14 PMModerator -
I will try it. Thanks, so much.
AppsThursday, November 11, 2010 11:59 AM -
from your article.....Step1: first get ID of assign button through Developer tools (IE8) or IE developer toolbar (below IE8)
Does that mean Ctr+N from the view that contains the New button that I want to omit?
AppsThursday, November 11, 2010 3:01 PM -
Thursday, November 11, 2010 9:02 PMModerator
-
I found this line in Homepage.aspx
function window.onload()
{
HandleBackButtonIssues(_currentTypeCode);
}do I replace HandleBackButtonIssues line with this?
var _AssignID=document.getElementById("_MBopenObj2“);
if(_AssignID!=null)
_AssignID.style.display=’none’;Thank you
AppsMonday, November 15, 2010 1:34 PM -
Hi, Mahender
I resolved my problem and the code (previous posting) works as it should. Appreciate your help.
AppsThursday, November 18, 2010 1:13 PM