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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Creating 100's of Smart Groups
Pages: [1]

Author Topic: Creating 100's of Smart Groups  (Read 813 times)

bpmccain

  • I post frequently
  • ***
  • Posts: 255
  • Karma: 5
  • CiviCRM version: 4.1
  • CMS version: Drupal 7.12
  • MySQL version: 5.2
  • PHP version: 5.2
Creating 100's of Smart Groups
February 05, 2012, 07:28:39 pm
Is there a way to create a lot of virtually identical smart groups.

I have to make 3 sets of about 100 smart groups, and the only thing that will change between any one of the 100 smart groups in each set is the number of a custom field?

Brian

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: Creating 100's of Smart Groups
February 06, 2012, 07:19:15 am

Currenly no :(

But i do think having support for "tokenized" smart group (i.e. u pass the value of the token via the URL would be awesome). Thus u can get the contacts from each of the 50 states via just one smart group rather than 50 smart groups etc

Can you take a look at the code and figure out what needs to be done. Its a bit non-trivial, IMO. Alternatively if your org can help sponsor part/most of this development that would help (i suspect its a 50-100 hour project)

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

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Creating 100's of Smart Groups
February 06, 2012, 08:46:16 am
bpmccain, what do you need these groups for?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

bpmccain

  • I post frequently
  • ***
  • Posts: 255
  • Karma: 5
  • CiviCRM version: 4.1
  • CMS version: Drupal 7.12
  • MySQL version: 5.2
  • PHP version: 5.2
Re: Creating 100's of Smart Groups
February 06, 2012, 11:11:25 am
We have many constituencies in our organization. I want to have a smart group representing the members of each constituency for mailing list purposes.

As for contributing to an MIH, I'll take a look, but I just contributed to CiviMobile last night so that might be it for this cycle.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Creating 100's of Smart Groups

This forum was archived on 2017-11-26.