Re: Issues with MySync DS / Android
Carsten Schumann <[email protected]>
| Newsgroups | gmane.comp.horde.sync |
|---|---|
| Message-ID | <[email protected]> |
Am 2012-09-02 20:44, schrieb Michael J Rubinsky: > Quoting Carsten Schumann <[email protected]>: > >> Hi Mike, >> >> as fas as I understand, the backends.php (for turba) does only >> cover the data providers for the adressbook. These providers >> (standard horde localsql database) work fine for me. My issue is >> related to SyncML which is (as far as I understand) not covered by >> the backends.php, is it? > > No, backends.php defines (among other things) the mappings available > and how they map between turba's fields and the backend storage's > fields. The sync code will only export mappings present in this file. > E.g., the 'HOME' vCard attribute will only be exported if if the > 'homePhone' mapping is present in backends.php. > > > Ok, that was one thing I did not expect. I assume the $INSTALLDIR/turba/config/backends.php is the correct file. I had a look into that file but I found nothing that matches the VCARD fields I found in my sync logs. I found some mappings that seem to be the mapping between the sql data fields and the internal turba fields. $cfgSources['localsql'] = array( [...] 'map' => array( [...] 'firstname' => 'object_firstname', So far, I understand the mapping mechanism. What I do not understand is the mapping between "object_firstname" and the corresponding VCARD field (I think it is the N field). Where can I find that mapping? I assume, the fields that are accepted by my SyncML client are listed in the client_11.xml logfile? Carsten -- sync mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: [email protected]