Hello
let me explain
I want to limit contact sync base on a distribution list
It seem to be possible when I read the file
syncml/contacts/lib/api.php
function _egwcontactssync_list()
{
$guids = array();
#Horde::logMessage("SymcML: egwcontactssync list ", __FILE__,
LINE, PEAR_LOG_DEBUG);
// hardcode your search creteria here
$criteria = array();
$filter = array();
if
($GLOBALS[‘egw_info’][‘user’][‘preferences’][‘addressbook’][‘hide_accounts’])
{
$filter[‘account_id’] = null;
}
// hardcode your filter here
//$filter['cat_id'] = '!215';
$allContacts =
ExecMethod2(‘addressbook.addressbook_bo.search’,$criteria,True,’’,’’,’’,False,‘AND’,false,$filter);
So maybe someone can help me or give me more explanation and example of
how to use $filter and $criteria
thank
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O’Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there’s a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you’ll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
egroupware-french mailing list
egroupware-french@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-french