Hi,
I want to add a button in ribbon on the form using customization.xml.
I add this 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 am import they give the error "The solution file is invalid. The compressed file must contain the following files at its root: solution.xml, customizations.xml, and [Content_Types].xml. Customization files exported from previous versions of Microsoft Dynamics 365 are not supported."
Please give me suggestion.
*This post is locked for comments
I have the same question (0)