cancel
Showing results for 
Search instead for 
Did you mean: 

Zimbra zimlet not working

maxxer
Champ in-the-making
Champ in-the-making
Hi.

I'm trying to use the Zimbra zimlet to access my alfresco installation.
I have Zimbra 6.0.2 and Alfresco 3.2 (from ubuntu partner repository). I know that the zimlet is actually not fully working with 6.x, but at least should show the directory tree.
I suspect there's something wrong with the alfresco install, but I followed the infos on the online documentation, by importing the zip file into Data dictionary > Web Scripts Extensions. I see the files there, also the uncompressed ones. I restarted tomcat several times but yet no change, zimlet isn't working. And I don't see any error in logs.

What could it be?
thanks
13 REPLIES 13

adrianodsb
Champ in-the-making
Champ in-the-making
I am having a problem with the Alfresco Community 3.3 + Zimbra 5.0.11 + Alfresco Zimlet Beta from google code project, the content of the repository can't be viewed from the attachment window, and the alfresco's log show the error below:

Cannot modify a property of a sealed object: toJSONString. (workspace://SpacesStore/Company Home/Data Dictionary/Web Scripts Extensions/org/alfresco/fastpublish/AlfrescoEasyTreeView.get.js#66)

Has anyone experienced this problem?

pp20218
Champ in-the-making
Champ in-the-making
Hi,

I am also having the same problem in Alfresco 3.3g.But till alfresco 3.2r it is working fine. I doubt on the web script part of the zimlet. Anyone can help pls???

pp20218
Champ in-the-making
Champ in-the-making
Any help pls?

pp20218
Champ in-the-making
Champ in-the-making
Can anyone provide the input pls?

stan_karetnikov
Champ in-the-making
Champ in-the-making
… Cannot modify a property of a sealed object: toJSONString….
I solved this problem by replacing anywhere result.toJSONString –> jsonUtils.toJSONString(result) and removing json.js library.
Now About and TreeView scripts work, but Upload and Navigation scripts still don't work.
Last two scripts contain callback function - I think this is a problem - I know this function must be enabled at Alfresco side, but I have no idea how to enable it.

BTW, you have to enable proxy at Zimbra side:
su - zimbra
zmprov mc default +zimbraProxyAllowedDomains "*"

pp20218
Champ in-the-making
Champ in-the-making
Hi Stan,

Thanks for the reply.Pls post your solution for attachment also If you get any.

Thanks

pp20218
Champ in-the-making
Champ in-the-making
Hi Stan,

I tried your solution.
In aboutAlfresco.get.js i removd the json.js and I changed the last line as model.result = jsonUtils.toJSONString(result);

Refreshed the WS but still I am not getting the about things.  Still the values are showing "undefined". Can you share your ideas.

Thanks

stan_karetnikov
Champ in-the-making
Champ in-the-making

pp20218
Champ in-the-making
Champ in-the-making
Hi Stan,

Thanks for your help.Now I used your files and the about stuff is working.
As u mentioned in the previous post, which is the cabbback function you are talking about?

If I am not wrong, you mean to say the below part?

if (! AlfCommon.ACL.canUpdate(upload) ) {
status = false;
msg ="User doesn't have role to update the document "+filename+" under Space "+path;
break script;


Thanks
PP
Getting started

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.