How to download a specific rendition of document in XCP 2.2 application?
I am trying to build a feature where user will be able to download the pdf rendition of document in XCP 2.2 application.
By debugging the extjs code for download I came to know that the download action in xcp is performed by contentXferBridge.js which in turn call XCPApplet (written in java). Both contentXferBridge.js and XCPApplet is the part of xcp-core jar file which is located at following location:
Is there is any way we can achieve the download of rendition. As far as I understand by decompiling the code It won't be possible to modify the XCPApplet core functionality and the methods provided by this applet does not take the content format of document as argument.
Any suggestion on this guys. Is it even possible to do this in XCP 2.2 ?
Thanks and Regards