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 ?
Regards,
Léo P-V
Saving Contact Attributes Modifications
-
- Zimbra Employee
- Posts: 28
- Joined: Tue Oct 18, 2022 12:16 pm
Re: Saving Contact Attributes Modifications
On save, call api to create or modify contact. Please refer below links for api call:
To modify contact: https://files.zimbra.com/docs/soap_api/ ... ntact.html
To create contact: https://files.zimbra.com/docs/soap_api/ ... ntact.html
Zimbra api documentation https://files.zimbra.com/docs/soap_api/ ... index.html
To modify contact: https://files.zimbra.com/docs/soap_api/ ... ntact.html
To create contact: https://files.zimbra.com/docs/soap_api/ ... ntact.html
Zimbra api documentation https://files.zimbra.com/docs/soap_api/ ... index.html