Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-17-2007, 01:25 AM
Intermediate Member
 
Posts: 20
Default create a new data in the Contacts from a portal

Can I create a new data in the Contacts from a portal?

What I want to do is that when I create a new data in an address book in a portal, I create same data in the Contacts in Zimbra at the same time.

I wonder where a data in the Contacts is stored.
If I know that, can I execute a SQL to insert a record in a database in Zimbra?
Reply With Quote
  #2 (permalink)  
Old 04-17-2007, 09:06 AM
Zimlet Guru & Moderator
 
Posts: 431
Default

Quote:
Originally Posted by Yokomie View Post
Can I create a new data in the Contacts from a portal?

What I want to do is that when I create a new data in an address book in a portal, I create same data in the Contacts in Zimbra at the same time.

I wonder where a data in the Contacts is stored.
If I know that, can I execute a SQL to insert a record in a database in Zimbra?
The contact information for Zimbra is stored in LDAP, not in the database. The easiest way to record that contact information is probably to write a zimlet that pulls contacts from the portal and saves them in Zimbra. The advantage of this method is that it gives you the JS Contact class. You could also use Zimbra's SOAP interface to push contacts into Zimbra as well directly from the portal.
Reply With Quote
  #3 (permalink)  
Old 04-17-2007, 09:27 AM
OpenSource Builder & Moderator
 
Posts: 1,158
Default

I thought the contacts were stored in SQL to facilitate searching, tagging etc? As opposed to GAL which is in ldap.

I'd love a way to view and update contacts from thunderbird, that's going to be my next project after solaris port, but I suspect it's going to involve writing a thunderbird soap/rest plugin.
Reply With Quote
  #4 (permalink)  
Old 04-17-2007, 09:31 PM
Zimlet Guru & Moderator
 
Posts: 431
Default

Quote:
Originally Posted by dijichi2 View Post
I thought the contacts were stored in SQL to facilitate searching, tagging etc? As opposed to GAL which is in ldap.

I'd love a way to view and update contacts from thunderbird, that's going to be my next project after solaris port, but I suspect it's going to involve writing a thunderbird soap/rest plugin.
Ehh. You are probably right. Let me double check it ;-)
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0