Customize the Document Set Ribbon
The document sets feature includes its own ribbon tab.This topic explains how to add a button to the document set ribbon.By adding a button to the ribbon,you set up a scenario where you can implement functionality that uses the ribbon to perform specific actions.
User two XML files to create the ribbon button.Place these files in the Features folder(which is, by default,located in the Program Files\common files\Microsoft Shared \web server Extensions\14\template\features folder),in their own folder.Name this folder addzipribbon.the two files,Element.xml and Feature.xml,define the elements of the ribbon customization and te feature registration,respectively.
Users might want to download all of a dcument set's contents rather than download each file individually.Document sets use an export framework for sending document sets to content organizers by using send to ,but you can also use the export framework to export.zip files sothat users can download them.Do this by creating a.dll file that uses the document sets object model.
Create and Add a button
create the Element.xml file.
Element.xml
浙公网安备 33010602011771号