how to enable or disable zimlet with zmprov?

Have a great idea for extending Zimbra? Share ideas, ask questions, contribute, and get feedback.
Post Reply
chengkinhung
Posts: 14
Joined: Sat Sep 13, 2014 1:26 am

how to enable or disable zimlet with zmprov?

Post by chengkinhung »

Hello,
I want to enable or disable one zimlet with zmprov commad, i success to change for domain:
zmprov md mail.com zimbraZimletDomainAvailableZimlets "+com_zimbra_myzimlet"
but when i want to change for email user:

zmprov ma admin@mail.com 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.
chengkinhung
Posts: 14
Joined: Sat Sep 13, 2014 1:26 am

how to enable or disable zimlet with zmprov?

Post by chengkinhung »

Sorry, mistake the command, the correct command should be:

[QUOTE]

zmprov ma admin@mail.com zimbraPrefDisabledZimlets "com_zimbra_myzimlet"

[/QUOTE]

This command is working but still problem, how to enable or disable serveral zimlets?

I can using command like this to disable two zimlets:

[QUOTE]

zmprov ma admin@mail.com zimbraPrefDisabledZimlets "com_zimbra_myzimlet1", zimbraPrefDisabledZimlets "com_zimbra_myzimlet2"

[/QUOTE]

but i doubt it was really the correct way?
pete irvine
Posts: 47
Joined: Sat Sep 13, 2014 1:59 am

how to enable or disable zimlet with zmprov?

Post by pete irvine »

so I can phrase the remove line properly ?
Thanx
Pete
Post Reply