Hi Patrick,
Thanks again for the help. This works as expected.
Thanks
Renato
On Fri, Feb 28, 2014 at 5:41 PM, Patrick Ohly <patrick.ohly(a)intel.com> wrote:
On Fri, 2014-02-28 at 15:20 -0300, Renato Filho wrote:
> This works fine but stores the contacts on default database in evolution.
> I want to change that to store each account in a different database, I
> tried several configurations changes but does not works.
You need to create a new local source with its own "database" property
and use that instead if the default "addressbook" source (which is the
same for all peers).
Something like this:
// remove unecessary sources
delete config["source/addressbook"]
delete config["source/calendar"]
delete config["source/todo"]
delete config["source/memo"]
// Use a specific EDS database locally and "addressbook" remotely.
config["source/onlineaccount-1"] = {}
config["source/onlineaccount-1"]["backend"] =
"evolution-contacts"
config["source/onlineaccount-1"]["database"] = ... // unique-id
config["source/onlineaccount-1"]["uri"] = "addressbook"
config["source/onlineaccount-1"]["sync"] = "two-way"
session.saveConfig("onlineaccount-1", config)