Advertisement
private775

XML for install/uninstall list custom action (button)

Mar 26th, 2015
436
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.79 KB | None | 0 0
  1. <CommandUIExtension>
  2.   <CommandUIDefinitions>
  3.     <CommandUIDefinition
  4.      Location="Ribbon.Documents.Manage.Controls._children">
  5.       <Button
  6.        Id="Ribbon.Documents.Manage.MoveToArchive"
  7.        Sequence="100"
  8.        TemplateAlias="o1"
  9.        Image16by16="/_layouts/nova.bhb.policies.archive/Images/archive16.png"
  10.        Image32by32="/_layouts/nova.bhb.policies.archive/Images/archive32.png"
  11.        Command="COMMANDGUID"
  12.        LabelText="Move to the Archive" />
  13.     </CommandUIDefinition>
  14.   </CommandUIDefinitions>
  15.   <CommandUIHandlers>
  16.     <CommandUIHandler
  17.      Command ="COMMANDGUID"
  18.      CommandAction="javascript:NovaBhbMta.ArchiveSelection();"
  19.      EnabledScript="javascript:NovaBhbMta.CheckSelection();"
  20.      />
  21.   </CommandUIHandlers>
  22. </CommandUIExtension>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement