This project is read-only.
1
Vote

Button sort order

description

Hi,

the button sort order does not work if I add a button with an sequence before. The ordering is well done in the ribbon editor tool. But after deploy it to Microsoft Dynamics CRM 2013 Online, the button is displayed at the end.

Look at the attached image RibbonEditor.png for the view in RE.
Look at the attached Image DeployCRM.png

If I look at the Ribbon tool View XML, the following lines are displayed (the new button is at the end):
<Controls Id="StockManager.Form.kkit_inbound.MainTab.Actions.Controls">
<Button Id="StockManager.Form.kkit_inbound.MainTab.Actions.Activate" Command="StockManager.Form.kkit_inbound.MainTab.Actions.Activate.Command" Sequence="20" LabelText="$LocLabels:StockManager.Form.kkit_inbound.MainTab.Actions.Activate.LabelText" ToolTipTitle="$LocLabels:StockManager.Form.kkit_inbound.MainTab.Actions.Activate.ToolTipTitle" ToolTipDescription="$LocLabels:StockManager.Form.kkit_inbound.MainTab.Actions.Activate.Description" TemplateAlias="o1" Image32by32="/_imgs/ribbon/Enable_32.png" Image16by16="/_imgs/ribbon/Enable_16.png" />
            <Button Id="StockManager.Form.kkit_inbound.MainTab.Actions.Deactivate" Command="StockManager.Form.kkit_inbound.MainTab.Actions.Deactivate.Command" Sequence="30" LabelText="$LocLabels:StockManager.Form.kkit_inbound.MainTab.Actions.Deactivate.LabelText" ToolTipTitle="$LocLabels:StockManager.Form.kkit_inbound.MainTab.Actions.Deactivate.ToolTipTitle" ToolTipDescription="$LocLabels:StockManager.Form.kkit_inbound.MainTab.Actions.Deactivate.Description" TemplateAlias="o1" Image16by16="/_imgs/ribbon/Disable_16.png" Image32by32="/_imgs/ribbon/Disable_32.png" />
            <Button Id="StockManagerStockManager.Form.kkit_inbound.MainTab.Actions.Overwrite" Command="StockManagerStockManager.Form.kkit_inbound.MainTab.Actions.Overwrite.Command" Sequence="50" LabelText="$LocLabels:StockManagerStockManager.Form.kkit_inbound.MainTab.Actions.Overwrite.LabelText" ToolTipTitle="$LocLabels:StockManagerStockManager.Form.kkit_inbound.MainTab.Actions.Overwrite.ToolTipTitle" ToolTipDescription="$LocLabels:StockManagerStockManager.Form.kkit_inbound.MainTab.Actions.Overwrite.Description" TemplateAlias="o1" Image16by16="$webresource:kkit_overwrite_16x16" Image32by32="$webresource:kkit_overwrite_32x32" />
            <Button Id="StockManagerStockManager.Form.kkit_inbound.MainTab.Actions.UpdateLineItems" Command="StockManagerStockManager.Form.kkit_inbound.MainTab.Actions.UpdateLineItems.Command" Sequence="60" LabelText="$LocLabels:StockManagerStockManager.Form.kkit_inbound.MainTab.Actions.UpdateLineItems.LabelText" ToolTipTitle="$LocLabels:StockManagerStockManager.Form.kkit_inbound.MainTab.Actions.UpdateLineItems.ToolTipTitle" ToolTipDescription="$LocLabels:StockManagerStockManager.Form.kkit_inbound.MainTab.Actions.UpdateLineItems.Description" TemplateAlias="o1" Image16by16="$webresource:kkit_update_16x16" Image32by32="$webresource:kkit_update_32x32" />
            <Button Id="StockManagerStockManager.Form.kkit_inbound.MainTab.Actions.DeactivateManager" Command="StockManagerStockManager.Form.kkit_inbound.MainTab.Actions.DeactivateManager.Command" Sequence="40" LabelText="$LocLabels:StockManagerStockManager.Form.kkit_inbound.MainTab.Actions.DeactivateManager.LabelText" ToolTipTitle="$LocLabels:StockManagerStockManager.Form.kkit_inbound.MainTab.Actions.DeactivateManager.ToolTipTitle" ToolTipDescription="$LocLabels:StockManagerStockManager.Form.kkit_inbound.MainTab.Actions.DeactivateManager.Description" TemplateAlias="o1" Image16by16="/_imgs/ribbon/Disable_16.png" Image32by32="/_imgs/ribbon/Disable_32.png" />
          </Controls>
How can I set the correct order?

Greetings Daniel

file attachments

comments

Schmolch wrote Mar 16, 2015 at 10:05 PM

Sequencing does not work if you add buttons and bring them to a previous order number.