Results 1 to 3 of 3

Thread: Help creating a zimlet

  1. #1
    Join Date
    Oct 2011
    Posts
    5
    Rep Power
    4

    Default Help creating a zimlet

    Hello, I'm trying to create a menu zimlet for "Briefcase" where the user can create a custom Briefcase with a template and add sharing rights at the same time.

    My first question is how I create a new briefcase, I have the parent id and name, but didn't find any way to create one. Can you please help or point me in the right direction?

    Thanks in advance,
    Vlad.

  2. #2
    Join Date
    Oct 2011
    Posts
    5
    Rep Power
    4

    Default

    BTW, using the js api

  3. #3
    Join Date
    Oct 2011
    Posts
    5
    Rep Power
    4

    Default

    Found a way to do this:

    Code:
    	var folder = {
    		name:document.getElementById('client').value,
    		'l':document.getElementById('folder_id').value,
    		view:"document"
    	};
    	var jsonObj = {CreateFolderRequest:{
    		_jsns:"urn:zimbraMail",
    		folder:folder
    	}};
    	var searchParams = {
                jsonObj:jsonObj,
                asyncMode:true,
                callback:new AjxCallback(this, this.handleCreateBriefcase),
                errorCallback:new AjxCallback(this, this.handleCreateBriefcaseError)
        };
    	appCtxt.getAppController().sendRequest(searchParams);
    now my problem is how will I upload some default files there? Any tips?

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 09:06 AM
  2. 4.0.4 to 4.5.6 upgrade failed in network edition
    By chenthil in forum Administrators
    Replies: 1
    Last Post: 08-27-2007, 09:36 AM
  3. [SOLVED] Simple backup question...
    By dameron in forum Administrators
    Replies: 3
    Last Post: 08-25-2007, 09:36 PM
  4. Replies: 13
    Last Post: 07-20-2007, 03:21 AM
  5. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 10:38 AM

Tags for this Thread

Posting Permissions

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