how to enable or disable zimlet with zmprov?

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

how to enable or disable zimlet with zmprov?

Postby chengkinhung » Tue Oct 19, 2010 4:13 am

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?

Postby chengkinhung » Tue Oct 19, 2010 5:06 am

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?

Postby pete irvine » Thu Jul 28, 2011 10:19 pm

so I can phrase the remove line properly ?
Thanx
Pete

Return to “Developers”

Who is online

Users browsing this forum: No registered users and 6 guests