First of all, thanks for sharing this project! We managed to run this Alfresco Zimlet successfully at Zimbra 5.x
But last, we upgraded one of the zimbra server to version 6 and the Alfresco Zimlet was not working anymore. After some configuration we get a connection between Zimbra and Alfresco (with the about button) and can we also browse with the navtree.
Then we had 2 problems:
- Saving to alfresco gives a message that is was successful, but that wasn't
- Geting an attachment from Alfresco and attach that to an email was not responding anymore.
The first problem is already fixed for Zimbra 6. We can upload now attachments to alfresco! We have rewritten the file
org_alfresco_zimbra.js for these problems.
But we need help for the second problem. We think that we managed to get the attachment from alfresco to the Zimbra server.
We have now a new function that handels the upload files and go back to the compose view of the mail:
Code:
AlfrescoAttachView.prototype.uploadFiles = function()
{
attIds = [];
var items = this.attachment_ids;
for (var i in items) {
attIds.push(items[i].id);
}
var callback = this._attachDialog.getUploadCallback();
if(callback) {
callback.run(AjxPost.SC_OK, attIds, null);
}
this.attach_documents = [];
this.attach_current = -1;
this.attachment_ids = [];
}; We found in the source code that the second parameter of the callback is for the attachments (attIds) and the third one are docIds (for example email messages).
Where are now at this point: the windows is closed and the email is saved in draft, but still we don't see any attachments.
We hope someone can help us out! When this Zimlet is working fine for Zimbra 6, we like to share it to all of you!
Thanks in advance.