CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • Using CSV batch tools
Pages: [1]

Author Topic: Using CSV batch tools  (Read 603 times)

olivier

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7
  • MySQL version: 5.1
  • PHP version: 5.4
Using CSV batch tools
January 24, 2015, 08:40:31 am
Hi,
I want to use the import and export CSV tools  (bin/csv/export.php and bin /csv/import.php) for transferring data and parameters between test and production environments.
Besides the problem of headers, which can be corrected with the indications described in http://forum.civicrm.org/index.php/topic,32922.msg140760.html#msg140760, I can't seem how to define the $options array used in the civicrm_apiv3 function.
For example, how specify offset and limit in command line to have the request :
     
Code: [Select]
$ result = civicrm_api3 ('Contact', 'get', array (
     'sequential' => 1,
     'options' => array ('limit' => 5 'offset' => 500)
     ))
;

Thank you for your help.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • Using CSV batch tools

This forum was archived on 2017-11-26.