CentraSite Documentation : CentraSite Developer's Guide : Pluggable Architecture : Customizing Content Pages : Extension Points : Download Documents : Changing the Format of the Zipped Archive
Changing the Format of the Zipped Archive
By default, the zipped archive contains the folder structure of the asset and its attached documents. If you want to change this, you can do so by extending the CentraSite Control functionality via the extension point downloadDocumentCommand. The definition of the extension point is given above.
To change the format of the zipped archive, your implementation of the extension point must define a method that extends the base class DownloadOperation.
You can find sample code for defining the extension point in the files DownloadDocumentCustomCommand.java and DownloadCustomOperation.java that are provided in the demo folder under the CentraSite installation folder.
Copyright © 2005-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback