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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.1 Release Testing »
  • cannot create new report 3.1 beta 5
Pages: [1]

Author Topic: cannot create new report 3.1 beta 5  (Read 1834 times)

gdoteof

  • Guest
cannot create new report 3.1 beta 5
January 15, 2010, 12:54:05 am
I go to manage report templates, create a new one.  I don't know what to put for class so I just make something up (is that the problem? i have looked for documentation on that and I don't know what it is about).  While it shows up in the templates, when I choose 'create reports from templates', as soon as I click on my template, I get the error:

Could not find the report template. Make sure the report template is registered and / or url is correct.

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: cannot create new report 3.1 beta 5
January 15, 2010, 04:03:36 am
Have you written a new report or you just want to use an existing report template.

Manage report templates is for writing your own new report and then adding it to the report templates.

Check out http://sandbox.civicrm.org/civicrm/admin/report/register/report_template?action=update&id=168&reset=1
There is a file named CRM/Report/Form/Contact/Summary.php which has that class for that report to run :
http://svn.civicrm.org/civicrm/branches/v3.1/CRM/Report/Form/Contact/Summary.php

So, if you are writing your own report you have to define the class CRM_Report_Form_Contact_MyReport in CRM/Report/Form/Contact/MyReport.php for that link to work.

But if you are simply looking for the latter you might want to look at Create Reports from Templates, create a Report based on your search criteria from an existing template and save it. What you now saved is a report instance and can be seen here :
http://sandbox.civicrm.org/civicrm/admin/report/list?reset=1

HTH
-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

gdoteof

  • Guest
Re: cannot create new report 3.1 beta 5
January 15, 2010, 05:58:50 am
okay.  I will take a look at this again this afternoon.  I thought it was something like that.

I need a report that uses custom data fields, so presumably I will have to create my own.

Thanks,
Geoff

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.1 Release Testing »
  • cannot create new report 3.1 beta 5

This forum was archived on 2017-11-26.