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) »
  • Importing Event Locations
Pages: [1]

Author Topic: Importing Event Locations  (Read 400 times)

jimcraner

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
Importing Event Locations
January 26, 2013, 09:34:41 pm
Hi, we're running CiviCRM 4.2.7 on Drupal 7.

I'm having a problem importing event locations into CiviEvent.  We have over 200 locations for events in a CSV and we'd like to import that list so users can choose from these events ("Use Existing Location") instead of entering these locations as a New Location every time we create an event.

I tried importing the Event Locations via the Address Create API but that process requires a contact_id (for adding Contact Addresses) and other posts in the forum indicate that there is no API-driven way to add Event Locations.

So I wrote SQL to import the locations from CSV into civicrm_address and for each imported address, I added a corresponding record in civicrm_loc_block.  The records in civicrm_address and civicrm_loc_block for my 200+ imported event locations look identical to the 3 event locations that I manually typed in while adding new events (other than the differences in address and city values, of course).

However, when I add a new event and try to select from existing locations ("Use Existing Location"), I'm still only seeing the 3 event locations that I manually added while creating previous events.  None of the 200+ imported event locations are visible in the dropdown.

Is there somewhere else beside civicrm_address and civicrm_loc_block that I need to reference these new Event Locations so that I can choose one of them when adding new events?  Do event locations not show up in the

Thanks for any suggestions you can provide!  -JC

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Importing Event Locations

This forum was archived on 2017-11-26.