Saving Contact Attributes Modifications

Interested in talking about Mash-up's? This is the place.
Post Reply
Posts: 4
Joined: Mon Jan 25, 2021 6:25 pm

Saving Contact Attributes Modifications

Post by Ltbpv »

Good afternoon,

I was wondering how could I change the attributes of a Zimbra Contact (name, email, birthday, notes etc...) and save these changes made through a Zimlet. I tried the method ZmContact.setAttr(attribute, value) - which modifies the chosen attribute to the "value" given in the code - but after refreshing, it doesn't keep in mind the changes.

Does anyone know how to save changes made by setAttr in a zimlet code ?

Léo P-V
Damini Vashishtha
Zimbra Employee
Zimbra Employee
Posts: 28
Joined: Tue Oct 18, 2022 12:16 pm

Re: Saving Contact Attributes Modifications

Post by Damini Vashishtha »

On save, call api to create or modify contact. Please refer below links for api call:

To modify contact: ... ntact.html
To create contact: ... ntact.html

Zimbra api documentation ... index.html
Post Reply