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) »
  • Report with "Find members" actions
Pages: [1]

Author Topic: Report with "Find members" actions  (Read 1226 times)

dsdart

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 3
  • CiviCRM version: 4.4
  • CMS version: Drupal 7.25
  • MySQL version: 5.1.41
  • PHP version: 5.3.1
Report with "Find members" actions
December 11, 2011, 08:57:35 pm
We have members that are organizations and primary contacts for those organizations that are individuals (employees of).  I need to set up a report that is similar to what is available through Search/Find Members with the dates as criteria, especially end dates (for manual renewal notices).  The action of "Send Email to Contacts" needs to find the primary contact that is the employee of the org and use that name and email.

Can somebody please point me in the right direction of documentation?

thanks

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: Report with "Find members" actions
December 12, 2011, 06:56:05 am

You'll need to write your own report and/or write a custom task for your needs. You should also check the:

"Display Contacts as" (top right corner)

feature of advanced search. If those orgs have any one employee that are responsible for the membership, u can use that workflow

http://en.flossmanuals.net/civicrm-developer-guide/

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

dsdart

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 3
  • CiviCRM version: 4.4
  • CMS version: Drupal 7.25
  • MySQL version: 5.1.41
  • PHP version: 5.3.1
Re: Report with "Find members" actions
December 12, 2011, 10:25:43 am
Using Display Results As/Related Contacts/Employee of (assuming that's what you meant by "Display Contacts as"?) only returns a list of the individuals, and no information about the organization they are related to, so that won't work.  I also noticed that the email goes out to everybody, not one email to each person.

From the docs, it looks like search must be used if I want actions, but report must be used if I want to display information coming from different tables.

So, maybe I am looking at this incorrectly. 

The membership manager needs to get a list of organizations that have their membership due in a particular month and be able to easily send a renewal email out to the primary contact for that organization.  Eventually, we want the renewal reminders to go out automatically, but not yet.

Do I need to model the data differently?  I am just starting, so it is not too late to throw out what I have and start all over.

Do I need to write a custom module?  Do you know of anything similar?  It doesn't seem that what we want to do is that unusual.

Please, any suggestions on how to get this up and running would be greatly appreciated.

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: Report with "Find members" actions
December 12, 2011, 10:43:25 am

Seems like for your use case u'll need to create a custom search. Check:

http://wiki.civicrm.org/confluence/display/CRMDOC40/Creating+A+Custom+Search+Extension

If the renewal message is a simple email, u can reuse the "send email" task, else u might need to write your own renewal task

Seems like your flow would be useful to a few other orgs out there, so if you do this as an extension or module please do share your changes. For common flows, the first person who needs it does have to write the code :)

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 »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Report with "Find members" actions

This forum was archived on 2017-11-26.