Results 1 to 9 of 9

Thread: Transfer conversation?

  1. #1
    vit_do82 is offline Junior Member
    Join Date
    Sep 2007
    Posts
    9
    Rep Power
    7

    Default Transfer conversation?

    Please can anybody say to me
    how to transfer the conversation from "Input" folder to other folder?
    Last edited by vit_do82; 09-20-2007 at 06:19 AM.

  2. #2
    Klug's Avatar
    Klug is offline Moderator
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,292
    Rep Power
    13

    Default

    Are your trying to develop a new zimlet that is able to move a conversation from one folder to another one ?

    (At first I understood you were trying to move a conversation using the web interface.)

  3. #3
    vit_do82 is offline Junior Member
    Join Date
    Sep 2007
    Posts
    9
    Rep Power
    7

    Default

    Yes, i trying to develop a new zimlet, i'm using doDrop method, but what classes to use for move conversation i don't know?
    Please help me, or prompt where it is possible to take the good documentation for development zimlet?
    Last edited by vit_do82; 09-20-2007 at 07:38 AM.

  4. #4
    vit_do82 is offline Junior Member
    Join Date
    Sep 2007
    Posts
    9
    Rep Power
    7

    Default

    What classes to use?

    Code:
    My_Zimlet_Add.prototype.doDrop = function(obj) {
           if (obj.TYPE == "ZmConv") {
                  var conv = new ZmConv(this._appCtxt, obj.id, this);
                  //
                  //How to move this conversation from "inbox" to a folder "MyFolder"
                  //"MyFilder" is exist
                  //
            } 
    };
    Last edited by vit_do82; 09-25-2007 at 12:32 AM.

  5. #5
    Klug's Avatar
    Klug is offline Moderator
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,292
    Rep Power
    13

    Default

    My question might sound stupid but why developping a zimlet to do something that is already included (by two ways) in the WebUI ?

  6. #6
    vit_do82 is offline Junior Member
    Join Date
    Sep 2007
    Posts
    9
    Rep Power
    7

    Default

    I wont on event doDrop pack some information of these conversation in soap package and send this package to listen service and this conversation copy to another folder .

  7. #7
    vit_do82 is offline Junior Member
    Join Date
    Sep 2007
    Posts
    9
    Rep Power
    7

    Default

    This is my code.
    Code:
    var soapDoc = AjxSoapDoc.create("ConvActionRequest", "urn:zimbraMail");
    	var actionNode = soapDoc.set("action");
    		actionNode.setAttribute("op", "move");
    		actionNode.setAttribute("l", folder.id);
    		actionNode.setAttribute("id", conv.id);
    		actionNode.setAttribute("tcon", "-tjs");
    	var command = new ZmCsfeCommand();
    	var top = command.invoke({soapDoc: soapDoc, asyncMode: true});

  8. #8
    vit_do82 is offline Junior Member
    Join Date
    Sep 2007
    Posts
    9
    Rep Power
    7

    Default

    But how to check up mail (to update page inbox) ?

  9. #9
    vit_do82 is offline Junior Member
    Join Date
    Sep 2007
    Posts
    9
    Rep Power
    7

    Default

    This code transfers conversation with inbox to a folder folder1, list restart
    Code:
    this._appCtxt._list.moveItems([conv1], folder1, null);
    Last edited by vit_do82; 09-26-2007 at 11:45 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Display column in conversation mode
    By Phantasmagoria in forum Developers
    Replies: 2
    Last Post: 03-18-2009, 12:03 PM
  2. merge emails into conversation?
    By bangsters in forum Users
    Replies: 1
    Last Post: 07-21-2007, 09:26 PM
  3. Reading Pane in Conversation View
    By bkonia in forum Users
    Replies: 12
    Last Post: 12-18-2006, 11:13 AM
  4. Manually adding a message to a conversation
    By partypooper in forum Administrators
    Replies: 3
    Last Post: 11-21-2006, 04:38 AM
  5. Conversation View
    By manthrax3 in forum Users
    Replies: 3
    Last Post: 12-07-2005, 01:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •