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 CiviReport (Moderator: Dave Greenberg) »
  • user needs report, sql query is working, now what?
Pages: [1]

Author Topic: user needs report, sql query is working, now what?  (Read 5527 times)

netvigator

  • I’m new here
  • *
  • Posts: 26
  • Karma: 2
user needs report, sql query is working, now what?
April 17, 2008, 08:31:13 am
Sorry for such a basic question, but I am a CiviCRM total newbie and no one in our organization is expert.

A user asked for a custom report.  I worked out the SQL query for the report that the user requested.

I need to allow the user to select the custom report off a menu or report list, as the user who needs the report does not do SQL queries.

Is this covered in a manual somewhere?

Thanks,

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: user needs report, sql query is working, now what?
April 17, 2008, 04:24:05 pm
I'm not clear on how you want the user to run the report? Other than just having the user run it in phpMyAdmin - your options are:

1. Use the CiviCRM custom search framework to implement your query as a "search". This is cool because it will allow your user to control criteria that are relevant to the search (e.g. a date range or ...). You control the search result columns and the user can export or take other "actions" with the returned records.

http://wiki.civicrm.org/confluence/display/CRMDOC/Custom+Search+Components

2. Use Eclipse's BIRT (open source reporting engine - requires Java) to create a report "around" your query. Or use another report builder like Crystal Reports.

In any case, adding a menu link to the report is done (for now) via your CMS (Drupal or Joomla). Upcoming versions of CiviCRM will source menu items from the DB and will make it possible to add custom menu options directly into the CiviCRM menu block via DB configuration.
Protect your investment in CiviCRM by  becoming a Member!

netvigator

  • I’m new here
  • *
  • Posts: 26
  • Karma: 2
Re: user needs report, sql query is working, now what?
April 17, 2008, 04:39:18 pm
Dave,

Maybe the custom search framework is the way to go for now.  The user that needs this report works off the web interface -- she does get into phpMyAdmin.

We do not need an actual menu link, but she should be able to run the report by clicking with her mouse.

Thanks,

netvigator

  • I’m new here
  • *
  • Posts: 26
  • Karma: 2
Re: user needs report, sql query is working, now what?
April 22, 2008, 04:11:43 pm
Dave,

Is the CiviCRM custom search framework available in version 2 only?   One of our IT people says so.  We are not on version 2 yet. 

Please clarify.

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: user needs report, sql query is working, now what?
April 23, 2008, 02:11:37 am

yes, this is part of v2.0. you will need to upgrade to use this feature

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 CiviReport (Moderator: Dave Greenberg) »
  • user needs report, sql query is working, now what?

This forum was archived on 2017-11-26.