In CRM 4 we have easily Add Menu Item in every page through ISV.config but most of the customer required Menu Item Should be display in CRM 2011 Ribbon.so <FlyoutAnchor> Tag will ADD Menu Item in Every CRM 2011 Entity.
<FlyoutAnchor Id="Contoso" Sequence="26" Command="Cmd_Action_test.sub" LabelText="Contoso" Alt="Contoso" PopulateOnlyOnce="false" PopulateDynamically="false" TemplateAlias="o1">
<Menu Id="B_formtest1.menu">
<MenuSection Id="Contoso.MenuSection\" Sequence="23">
<Controls Id="FA_EForm.control1">
<Button Id="Contoso.Contoso1" Command="Cmd_Action_test.Contoso1" Sequence="24" LabelText="Contoso 1" Alt="Contoso 1" />
<Button Id="Contoso.Contoso2" Command="Cmd_Action_test.Contoso2" Sequence="25" LabelText="Contoso 2" Alt="Contoso 2" />
<Button Id="Contoso.Contoso3" Command="Cmd_Action_test.Contoso3" Sequence="26" LabelText="Contoso 3" Alt="Contoso 3" />
<Button Id="Contoso.Contoso4" Command="Cmd_Action_test.Contoso4" Sequence="27" LabelText="Contoso 4" Alt="Contoso 4" />
</Controls>
</MenuSection>
</Menu>
</FlyoutAnchor>
<FlyoutAnchor Id="Contoso" Sequence="26" Command="Cmd_Action_test.sub" LabelText="Contoso" Alt="Contoso" PopulateOnlyOnce="false" PopulateDynamically="false" TemplateAlias="o1">
<Menu Id="B_formtest1.menu">
<MenuSection Id="Contoso.MenuSection\" Sequence="23">
<Controls Id="FA_EForm.control1">
<Button Id="Contoso.Contoso1" Command="Cmd_Action_test.Contoso1" Sequence="24" LabelText="Contoso 1" Alt="Contoso 1" />
<Button Id="Contoso.Contoso2" Command="Cmd_Action_test.Contoso2" Sequence="25" LabelText="Contoso 2" Alt="Contoso 2" />
<Button Id="Contoso.Contoso3" Command="Cmd_Action_test.Contoso3" Sequence="26" LabelText="Contoso 3" Alt="Contoso 3" />
<Button Id="Contoso.Contoso4" Command="Cmd_Action_test.Contoso4" Sequence="27" LabelText="Contoso 4" Alt="Contoso 4" />
</Controls>
</MenuSection>
</Menu>
</FlyoutAnchor>
Comments
Post a Comment