Results 1 to 3 of 3

Thread: how to enable or disable zimlet with zmprov?

  1. #1
    Join Date
    Sep 2010
    Rep Power

    Default how to enable or disable zimlet with zmprov?


    I want to enable or disable one zimlet with zmprov commad, i success to change for domain:

    zmprov md zimbraZimletDomainAvailableZimlets "+com_zimbra_myzimlet"

    but when i want to change for email user:
    zmprov ma zimbraZimletDomainAvailableZimlets "+com_zimbra_myzimlet"
    I got error return:
    ERROR: service.INVALID_REQUEST (invalid request: LDAP schema violation: [LDAP: error code 65 - attribute 'zimbraZimletDomainAvailableZimlets' not allowed])

    I have not problem to enable or disable this zimlet when i login in webclient.

    Any idea? Please help.
    Last edited by chengkinhung; 10-19-2010 at 03:15 AM.

  2. #2
    Join Date
    Sep 2010
    Rep Power


    Sorry, mistake the command, the correct command should be:
    zmprov ma zimbraPrefDisabledZimlets "com_zimbra_myzimlet"
    This command is working but still problem, how to enable or disable serveral zimlets?
    I can using command like this to disable two zimlets:
    zmprov ma zimbraPrefDisabledZimlets "com_zimbra_myzimlet1", zimbraPrefDisabledZimlets "com_zimbra_myzimlet2"
    but i doubt it was really the correct way?

  3. #3
    Join Date
    May 2011
    Rep Power

    Default How do you list the names of the zimlets

    so I can phrase the remove line properly ?



Similar Threads

  1. [SOLVED] how do i call the zmprov command in zimlet?
    By chengkinhung in forum Developers
    Replies: 5
    Last Post: 10-13-2010, 07:27 PM
  2. Replies: 21
    Last Post: 02-04-2010, 09:06 AM
  3. Unable to script zmprov changes completely
    By todd_dsm in forum Installation
    Replies: 1
    Last Post: 12-16-2009, 06:39 AM
  4. Replies: 5
    Last Post: 01-11-2008, 04:34 AM
  5. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 10:38 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