Results 1 to 3 of 3

Thread: View an appt

  1. #1
    Join Date
    Oct 2010
    Location
    Earth
    Posts
    2
    Rep Power
    5

    Default View an appt

    Hello, all! I'm working on my first Zimlet. I'm pretty deep into this first one (about 400 lines so far) but have been stuck at this point for a few days.

    I have an HTML button. When it is clicked, I want it to bring up the Zimbra appointment editor for an appointment of a given unique ID, which will be specified as a param for the function that is called in the HTML button's onclick event.

    How can I get it to bring up the appointment editor?

  2. #2
    Join Date
    Oct 2010
    Location
    Earth
    Posts
    2
    Rep Power
    5

    Default

    So far, I've been able to get the appointment composer to come up, but still can't figure out how to load the appointment data.

    Code:
    MyZimlet.showAppt = function (apptUid) {
      var apptComposeController = AjxDispatcher.run("GetApptComposeController");
      if (apptComposeController) {
        var appt = new ZmAppt();
        apptComposeController.show(appt);
      }
    };
    I tried

    Code:
      if (apptComposeController) {
        var appt = new ZmAppt();
        appt.getById(apptUid);
        apptComposeController.show(appt);
      }
    but it does the same thing as the first code block above: appointment editor appears but it is blank.

    Anyone know how to load the data into the appointment composer?

  3. #3
    Join Date
    Jul 2012
    Location
    Algiers
    Posts
    55
    Rep Power
    3

    Default

    I'm not sure but I think you have to load it via SOAP with a GetMsgRequest

Similar Threads

  1. Disable Admin View Mail
    By percibal in forum Administrators
    Replies: 51
    Last Post: 05-24-2011, 12:12 PM
  2. View Mails in Admin Console
    By rajan in forum Administrators
    Replies: 1
    Last Post: 05-07-2007, 12:58 AM
  3. One user's Address Book broken in Contact List view
    By dowdle in forum Administrators
    Replies: 4
    Last Post: 02-06-2007, 12:58 AM
  4. Replies: 1
    Last Post: 08-22-2006, 11:21 PM
  5. Replies: 2
    Last Post: 01-06-2006, 11:21 AM

Posting Permissions

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