简体   繁体   English

Dynamics CRM - 实体 - 自定义左导航

[英]Dynamics CRM - Entity - Customise Left Navigation

I'm trying to customise the left navigation of a custom entity in CRM, I know I can rename the display areas for the linked entities however, I need the originals PLUS a few extras. 我正在尝试在CRM中自定义自定义实体的左侧导航,我知道我可以重命名链接实体的显示区域,但是,我需要原件PLUS一些附加功能。 Is there any way to do this either by editing the sitemap or ISV.config files or some other method? 有没有办法通过编辑站点地图或ISV.config文件或其他方法来做到这一点?

IE I want to do the following: IE我想做以下事情:

  • Details 细节
  • Sales 销售
    • Orders 命令
    • Opportunities 机会
  • Service 服务
  • Marketing 营销
  • Custom Group 1 自定义组1
    • Custom Related Entity 1 自定义相关实体1
    • Custom Related Entity 2 自定义相关实体2
  • Custom Group 2 自定义组2

I agree with Matt, that in a supported fashion you're not going to be able to do this. 我同意马特的观点,即以支持的方式,你无法做到这一点。 The only valid area's are "Info", "Sales", "Service", "Marketing" or blank. 唯一有效的区域是“信息”,“销售”,“服务”,“营销”或空白。 If its something you really, really want I would recommend injecting nodes into the DOM to create the effect during the form load event. 如果您确实需要它,我建议将节点注入DOM以在表单加载事件期间创建效果。 Look at the source for MSCRM's "Sales" or "Service" NavBarAreas and then inject nodes to match. 查看MSCRM的“Sales”或“Service”NavBarAreas的源代码,然后注入要匹配的节点。 Note that you can retrieve the NavBarItem's using document.getElementById using the ID attribute from NavBarItem. 请注意,您可以使用来自NavBarItem的ID属性使用document.getElementById检索NavBarItem。

I can't speak for KB22's solution, but if you want to stay supported, natively, you can't add new groups to the left nav. 我无法代表KB22的解决方案,但如果您希望保持原生支持,则无法在左侧导航中添加新组。 About the best you can do in this situation is rename one of the existing groups (Sales, Service, Marketing) if you don't need to use it. 在这种情况下,您可以做的最好的事情是重命名现有的一个组(销售,服务,市场营销),如果您不需要使用它。

I vaguely remember that customizing CRM is pretty much of a PITA. 我依稀记得定制CRM几乎就是PITA。 AFAIR one has to modify the MS-SQL VIEWS in the backend in order to achieve such customizing. AFAIR必须修改后端的MS-SQL VIEWS才能实现这种自定义。

Just tryin to point you towards the solution... 试着指出你的解决方案......

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM