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 CiviEvent (Moderator: Yashodha Chaku) »
  • Mass import of previous events
Pages: [1]

Author Topic: Mass import of previous events  (Read 581 times)

lgel-sw

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: Wordpress
  • MySQL version: unknown
  • PHP version: unknown
Mass import of previous events
July 25, 2014, 02:34:56 am
We have just imported our database of contacts into our CiviCRM install (some 30k). Each person we know from a 'source' - which is most often an event (~700 uniques). I found that I can import participants, once the events have been added.

Is there a way to mass import the previous (~700) events? I only have a title of the event, but could make up a date, type and status I guess. Doing this import manually would be a big pain...

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Mass import of previous events
July 28, 2014, 07:06:01 am
Hey there,

You can't import events via the UI, I am afraid.

If you have command line access, ane workaround I am aware of is the following

Have a look at https://github.com/civicrm/civicrm-core/blob/master/bin/csv/import.php and https://civicrm.org/blogs/xavier/api_batch_tools

The blog post should give you good background, and the github link the latest syntax.

Not sure how techy you are / if this is the kind of answer you are looking for, but hopefully it helps you.



Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

Fabian_SYSTOPIA

  • I post occasionally
  • **
  • Posts: 74
  • Karma: 3
  • CiviCRM version: 4.3.x, 4.4.x
  • CMS version: Drupal 7.x
  • MySQL version: 5.4.10
  • PHP version: 5.4.10
Re: Mass import of previous events
July 28, 2014, 07:32:14 am
Also, this Extension may be helpful: https://civicrm.org/extensions/api-csv-import-gui

In case you use the extension, I would appreciate a short feedback on how it went as we may need to do a similar task soon ourself :)

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Mass import of previous events
July 28, 2014, 08:21:49 am
Wowser - that extension slipped me by (and it looks v. cool) :)
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Mass import of previous events
August 04, 2014, 11:54:46 am
I found that use of a PHPMyAdmin tool allows you to easily import simple event information via CSV such as: start date, title, etc into the civicrm_event table within the CiviCRM database.
Try CiviTeacher: the online video tutorial CiviCRM learning library.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Mass import of previous events

This forum was archived on 2017-11-26.