Hi,
I want to add button in ribbon in account form ,but i want to add with xml code not ribbon workbench
but i can't add.
See my XML code:
<RibbonDiffXml>
<CustomActions>
<CustomAction Id="Mscrm.HomepageGrid.new_movie.MovieRevenue.CustomAction"
Location="Mscrm.Form.new_movie.MainTab.Collaborate.Controls._children">
<CommandUIDefinition>
<Button Id="Mscrm.HomepageGrid.new_movie.MovieRevenue.Button"
Command="Mscrm.HomepageGrid.new_movie.MovieRevenue.Command"
Sequence="10"
LabelText="GetContacts"
ToolTipTitle="Associated Contacts"
ToolTipDescription="Get contcts from account"
TemplateAlias="01" />
</CommandUIDefinition>
</CustomAction>
</CustomActions>
<Templates>
<RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates>
</Templates>
<CommandDefinitions>
<CommandDefinition Id="Mscrm.HomepageGrid.new_movie.MovieRevenue.Command">
<EnableRules />
<DisplayRules />
<Actions />
</CommandDefinition>
</CommandDefinitions>
<RuleDefinitions>
<TabDisplayRules />
<DisplayRules />
<EnableRules />
</RuleDefinitions>
<LocLabels />
</RibbonDiffXml>
When I add the custpmization my code,this give the error.
Please give me the correct code for adding a new button.
*This post is locked for comments
I have the same question (0)