Quote:
Originally Posted by jfavero Kevin
I the init method of the Zimlet, I have been able to call this to
create a new Folder:
// Create Folder
soapDoc = AjxSoapDoc.create("CreateFolderRequest", "urn:zimbraMail");
var folderNode = soapDoc.set("folder");
folderNode.setAttribute("name", "Xythos");
folderNode.setAttribute("l", top.id);
folderNode.setAttribute("view", ZmOrganizer.VIEWS[ZmOrganizer.FOLDER]);
command = new ZmCsfeCommand();
var resp = command.invoke({soapDoc: soapDoc});
var id = resp.Body.CreateFolderResponse.folder[0].id;
However I am now trying to have my Zimlet called if a conversation is dropped into this folder. Is there a way to assign a listener to this??
Thanx Joe |
Part of the problem here is that folder content can come from other places then just the Zimbra web front end. You might be able to attach to the organizer to find out what's going on, but that won't help at all for other behavior.
It would be
nice to have a way to attach behavior to a particular folder, but I don't know of one.