SharePoint 2010 Ribbon Customization : Ribbon button location аnԁ thеіr IDs

Pre-Requisite : Ribbon Basics

Document Library ( Manage )

<CommandUIDefinition Location="Ribbon.ID.Manage.Controls._children">
  <Button
 Id="ManoInc.Ribbon.ID.Manage.SetDocFinal"
 Sequence="40"
 Command="ManoInc.Ribbon.ID.Manage.SetDocFinal.cmdSetDocFinal"
 Image16by16="/_layouts/$Resources:core,Language;/images/formatmap16x16.png" Image16by16Top="-144" Image16by16Left="0"
 Image32by32="/_layouts/$Resources:core,Language;/images/formatmap32x32.png" Image32by32Top="-128" Image32by32Left="-256"
 LabelText="Finalize Document"
 ToolTipTitle="Finalize Document"
 ToolTipDescription="Finalize Document"
 TemplateAlias="o1"/>
</CommandUIDefinition>

Manage DocumentSet

<CommandUIDefinition  Location="Ribbon.ManageDocumentSet.MDS.Manage.Controls._children">
  <Button
 Id="ManoInc.Ribbon.ManageDocumentSet.MDS.Manage.SetDocSetFinal"
 Sequence="20"
 Command="ManoInc.Ribbon.ManageDocumentSet.MDS.Manage.cmdSetDocSetFinal"
 Alt="Finalize DocumentSet"
 Image16by16="/_layouts/$Resources:core,Language;/images/formatmap16x16.png" Image16by16Top="-144" Image16by16Left="0"
 Image32by32="/_layouts/$Resources:core,Language;/images/formatmap32x32.png" Image32by32Top="-128" Image32by32Left="-256"
 LabelText="Finalize DocumentSet"
 ToolTipTitle="Finalize DocumentSet"
 ToolTipDescription="Finalize DocumentSet"
 TemplateAlias="o1" />
</CommandUIDefinition>

Check іt out:SharePoint 2010