如何在CRM子网格上添加自定义按钮? [英] How to add a custom button on CRM subgrid?

查看:99
本文介绍了如何在CRM子网格上添加自定义按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Dynamics CRM解决方案中有两个实体.两者彼此相关.产品->配置

I have two entities in my Dynamics CRM solution. Both are related to each other. Product -> configurations

每个产品可以具有多种配置.我在产品屏幕上添加了一个子网格.

Each product can have multiple configurations. I have added a subgrid on product screen.

我需要调用自定义html webresource才能创建配置记录.

I need to call a custom html webresource to be able to create configuration records.

如何将自定义按钮添加到子网格?或如何自定义现有的(+)按钮以打开html Webresource?

How to add a custom button to the subgrid? OR how to customize existing (+) button to open an html webresource?

推荐答案

  1. 将实体添加到解决方案&备份
  2. 在Ribbon工作台中打开解决方案
  3. 开始自定义子网格功能区(忽略其他两个-主网格和窗体),右键单击OOB按钮&隐藏它(这也是备份)
  4. 添加新按钮&自定义javascript操作命令(中的"nofollow noreferrer"> openWebResource 方法
  1. Add the entity to a solution & take a backup
  2. Open the solution in Ribbon workbench
  3. Start customizing the subgrid ribbon (ignore other two - Main grid & Form), right click the OOB button & hide it (this is also a backup)
  4. Add a new button & custom javascript action command (follow this)
  5. Open your custom HTML webresource using openWebResource method in javascript function

这篇关于如何在CRM子网格上添加自定义按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆