我试图隐藏“添加现有”' “联系人”表单上的自定义实体子网格按钮。到目前为止我的步骤;
customisations.xml
将以下内容添加到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'
为什么我会收到这些错误?