Good Evening everyone, i'm currently modifying the Birthday Reminder Zimlet and among all the modifications, i'm trying to avoid double birthday events (if you add someone's birthday event manually, the Zimlet should not propose this contact in his automated list when using the Zimlet scan to automatically create reminders).
Therefore i was thinking about creating like a list of the contacts already processed, and then compare the current contact to the contacts in this list. I was asking myself which primary key could fit to make a contact unique. Does contact have an ID or some like ? If yes, does anyone got an idea on how to get it ? If not, any other idea that could work as a primary key ?
Thanks for the advises, appreciate it !
Ltbpv
EDIT : Okay i discover that every contact has an ID accessible, so i answered my own question but come with others. Does anyone know why can we declare a global variable in a Zimlet JS code ? I tried to declare one for this modification, but the Zimlet then does not work anymore...
Get a primary key for Contacts
Interested in talking about Mash-up's? This is the place.
Jump to
- Zimbra Collaboration Server
- ↳ Administrators
- ↳ Installation and Upgrade
- ↳ Migration
- ↳ Virtualization
- ↳ Developers
- ↳ Zimlets
- ↳ Users
- ↳ Zimbra Connector for Outlook
- ↳ Zimbra Connector for Blackberry
- ↳ CalDAV / CardDAV / iSync
- ↳ Zimbra Collaboration 8.8 Beta
- ↳ Mobility
- ↳ Zimbra Talk
- ↳ Universal UI
- ↳ Zimbra Chat
- ↳ Zimbra Drive
- Zimbra Suite Plus
- ↳ Installation and Upgrade
- ↳ Zimbra Admin Plus
- ↳ Zimbra Backup Plus
- ↳ Zimbra HSM Plus
- ↳ Zimbra Mobile Plus
- Zimbra Desktop
- ↳ General Questions
- ↳ Error Reports
- ↳ Installation Help
- ↳ Zimbra Desktop Beta/RC
- General Zimbra
- ↳ General Zimbra Feedback
- ↳ Announcements
- ↳ Community News
- ↳ Zimbra Success Stories
- Portability
- ↳ BSD
- Other
- ↳ /etc
- ↳ International
- ↳ I18N/L10N - Translations
- ↳ Русский язык-фор
- ↳ French
- ↳ Italian
- ↳ German
- ↳ Spanish
- ↳ Scandinavian
- ↳ Portuguese