03-18-2011 10:40 AM
<action type="action-link" id="onActionCustomDownload" label="actions.document.CustomDownload" />
…
onActionCustomDownload: function dlA_onActionCustomDownload(file)
{
//call a webscript which make PDF transformation
this.modules.actions.genericAction(
{
success:
{
message: this.msg("message.download.success")
},
failure:
{
message: this.msg("message.download.failure")
},
webscript:
{
method: Alfresco.util.Ajax.GET,
name: "downDoc?node={node}",
params:
{
node: nodeRef.nodeRef
}
}
}
// download pdf file ?? pdfurl ?
windows.open(pdrurl);
}
03-18-2011 10:42 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.