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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Change smart groups into normal groups
Pages: [1]

Author Topic: Change smart groups into normal groups  (Read 466 times)

andersiversen

  • I post occasionally
  • **
  • Posts: 76
  • Karma: 1
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7.26
  • MySQL version: 5.5.32
  • PHP version: 5.3.10
Change smart groups into normal groups
August 31, 2012, 03:58:46 am
Hi there!

I'm making some rearrangements in the way I've structured things in CiviCRM.

I have about 200 smart groups and I don't want them to be smart groups any more, but just normal groups. Is there a way to do that? Some API call or in MySQL?
Since I'm also removing all users it doesn't matter if the users in the smart groups drops out of the group if it is changed to a normal group.

The reason I'm asking is that I'm "lazy", and I don't want to make all 200 groups again :)

Thanks in advance!
/Anders:)

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Change smart groups into normal groups
September 02, 2012, 10:10:59 am

you should be able to do this in mysql and a fair bit of it via the api

the smart groups have an associated record in civicrm_saved_search tables, so make sure you delete the record there

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Change smart groups into normal groups

This forum was archived on 2017-11-26.