CRM 2011 Remove unwanted menu entry

2019-05-02 07:30发布

问题:

I want to remove the "New" option in a entry on the main menu. Its that little right arrow that allows the user to see this menu at all, I'd be okay with completely removing that.

Here is what the element looks like in my sitemap:

  <SubArea Id="nav_cases" Entity="incident"
 DescriptionResourceId="Cases_SubArea_Description"
 GetStartedPanePath="Cases_Web_User_Visor.html"
 GetStartedPanePathAdmin="Cases_Web_Admin_Visor.html"
 GetStartedPanePathOutlook="Cases_Outlook_User_Visor.html"
 GetStartedPanePathAdminOutlook="Cases_Outlook_Admin_Visor.html" />

And based on the sitemap documentation I don't think I can acheive this with the xml.

So I guess I want to know if this is possible? Or is this just part of the framework I can't get at? Is there some clever javascript I can do?

The reason I want to remove it is because these are childen in a parent:child relationship and we only want users to create them from the context of the parent record.

回答1:

Unfortunately I don't think there is a way to do this (unless you go way unsupported and are not online).

An alternative would be to have JavaScript on the form that immediately prompts the user for the parent record. That's probably the approach I would take.