我正在尝试隐藏联系人表单上自定义实体子网格的“添加现有”按钮。到目前为止我的步骤;
- 将联系人实体添加到解决方案
- 导出解决方案并
customisations.xml
在VS2010中加载 将以下内容添加到
CustomAction
节点<HideCustomAction HideActionId="sample.Mscrm.SubGrid.new_gppractice.AddExistingAssoc.HideAction" Location="Mscrm.SubGrid.new_gppractice.AddExistingAssoc" /> <HideCustomAction HideActionId="sample.Mscrm.SubGrid.new_gppractice.AddExistingStandard.HideAction" Location="Mscrm.SubGrid.new_gppractice.AddExistingStandard" />
保存,重新导入
尝试重新导入时,出现以下错误:
The ribbon item 'sample.Mscrm.SubGrid.new_gppractice.AddExistingAssoc.HideAction' is dependent on ribbon control id='Mscrm.SubGrid.new_gppractice.AddExistingAssoc'
The ribbon item 'sample.Mscrm.SubGrid.new_gppractice.AddExistingStandard.HideAction' is dependent on ribbon control id='Mscrm.SubGrid.new_gppractice.AddExistingStandard'
任何想法为什么我会收到这些错误?